diff options
Diffstat (limited to 'src/DotNetOAuth.Test/Messaging/ResponseTest.cs')
-rw-r--r-- | src/DotNetOAuth.Test/Messaging/ResponseTest.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/DotNetOAuth.Test/Messaging/ResponseTest.cs b/src/DotNetOAuth.Test/Messaging/ResponseTest.cs new file mode 100644 index 0000000..c1c7dff --- /dev/null +++ b/src/DotNetOAuth.Test/Messaging/ResponseTest.cs @@ -0,0 +1,19 @@ +//-----------------------------------------------------------------------
+// <copyright file="ResponseTest.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace DotNetOAuth.Test.Messaging {
+ using System;
+ using DotNetOAuth.Messaging;
+ using Microsoft.VisualStudio.TestTools.UnitTesting;
+
+ [TestClass]
+ public class ResponseTest : TestBase {
+ [TestMethod, ExpectedException(typeof(InvalidOperationException))]
+ public void SendWithoutAspNetContext() {
+ new Response().Send();
+ }
+ }
+}
|