diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-09 09:36:16 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-09 09:36:38 -0800 |
commit | 6a04ef4cbfedbdbf77f14575e468a4786756bdf3 (patch) | |
tree | 83e751065a0e98c6f6e55dfe33aee6c10a1263e1 /src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs | |
parent | 623f8a1e53a1fd1bb58f540c226d1538dc5e86a5 (diff) | |
download | DotNetOpenAuth-6a04ef4cbfedbdbf77f14575e468a4786756bdf3.zip DotNetOpenAuth-6a04ef4cbfedbdbf77f14575e468a4786756bdf3.tar.gz DotNetOpenAuth-6a04ef4cbfedbdbf77f14575e468a4786756bdf3.tar.bz2 |
Fixed a bunch of NUnit warnings.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs index d854ee3..5f068d1 100644 --- a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs +++ b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs @@ -99,7 +99,7 @@ namespace DotNetOpenAuth.Test.ChannelElements { IDirectedProtocolMessage requestMessage = this.channel.ReadFromRequest(requestInfo); Assert.IsNotNull(requestMessage); - Assert.IsInstanceOfType(typeof(TestMessage), requestMessage); + Assert.IsInstanceOf<TestMessage>(requestMessage); TestMessage testMessage = (TestMessage)requestMessage; Assert.AreEqual(15, testMessage.Age); Assert.AreEqual("Andrew", testMessage.Name); @@ -344,7 +344,7 @@ namespace DotNetOpenAuth.Test.ChannelElements { IProtocolMessage response = this.channel.Request(request); Assert.IsNotNull(response); - Assert.IsInstanceOfType(typeof(TestMessage), response); + Assert.IsInstanceOf<TestMessage>(response); TestMessage responseMessage = (TestMessage)response; Assert.AreEqual(request.Age, responseMessage.Age); Assert.AreEqual(request.Name, responseMessage.Name); @@ -360,7 +360,7 @@ namespace DotNetOpenAuth.Test.ChannelElements { }; IProtocolMessage requestMessage = this.channel.ReadFromRequest(CreateHttpRequestInfo(scheme, fields)); Assert.IsNotNull(requestMessage); - Assert.IsInstanceOfType(typeof(TestMessage), requestMessage); + Assert.IsInstanceOf<TestMessage>(requestMessage); TestMessage testMessage = (TestMessage)requestMessage; Assert.AreEqual(15, testMessage.Age); Assert.AreEqual("Andrew", testMessage.Name); |