summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Messaging/ResponseTest.cs
blob: c1c7dff2d8b236152623eb190cc82994c68e365a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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();
		}
	}
}