summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Mocks/TestChannel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/TestChannel.cs')
-rw-r--r--src/DotNetOpenAuth.Test/Mocks/TestChannel.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/TestChannel.cs b/src/DotNetOpenAuth.Test/Mocks/TestChannel.cs
index a65b39c..a72ab63 100644
--- a/src/DotNetOpenAuth.Test/Mocks/TestChannel.cs
+++ b/src/DotNetOpenAuth.Test/Mocks/TestChannel.cs
@@ -9,12 +9,18 @@ namespace DotNetOpenAuth.Test.Mocks {
using System.Collections.Generic;
using System.Net;
using DotNetOpenAuth.Messaging;
+ using DotNetOpenAuth.Messaging.Reflection;
internal class TestChannel : Channel {
internal TestChannel()
: this(new TestMessageFactory()) {
}
+ internal TestChannel(MessageDescriptionCollection messageDescriptions)
+ : this() {
+ this.MessageDescriptions = messageDescriptions;
+ }
+
internal TestChannel(IMessageFactory messageTypeProvider, params IChannelBindingElement[] bindingElements)
: base(messageTypeProvider, bindingElements) {
}