summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Mocks/TestChannel.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-13 08:50:56 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-13 08:50:56 -0700
commitae2258f38effe0eca177d3610a9a113288f6365b (patch)
treef7c4b3d44be7e44daa7eba23d84d16651401d946 /src/DotNetOAuth.Test/Mocks/TestChannel.cs
parent5181f7f5d953ede5361ea1ac899818bfad207bf7 (diff)
downloadDotNetOpenAuth-ae2258f38effe0eca177d3610a9a113288f6365b.zip
DotNetOpenAuth-ae2258f38effe0eca177d3610a9a113288f6365b.tar.gz
DotNetOpenAuth-ae2258f38effe0eca177d3610a9a113288f6365b.tar.bz2
Added tests for signed, expiring and replay protected messages.
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestChannel.cs')
-rw-r--r--src/DotNetOAuth.Test/Mocks/TestChannel.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestChannel.cs b/src/DotNetOAuth.Test/Mocks/TestChannel.cs
index 5663ec2..2431af1 100644
--- a/src/DotNetOAuth.Test/Mocks/TestChannel.cs
+++ b/src/DotNetOAuth.Test/Mocks/TestChannel.cs
@@ -13,7 +13,11 @@ namespace DotNetOAuth.Test.Mocks {
internal class TestChannel : Channel {
internal TestChannel()
- : base(new TestMessageTypeProvider()) {
+ : this(new TestMessageTypeProvider()) {
+ }
+
+ internal TestChannel(IMessageTypeProvider messageTypeProvider)
+ : base(messageTypeProvider) {
}
protected override IProtocolMessage RequestInternal(IDirectedProtocolMessage request) {