diff options
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs')
-rw-r--r-- | src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs b/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs index 30a290d..7add28b 100644 --- a/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs +++ b/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs @@ -32,7 +32,7 @@ namespace DotNetOAuth.Test.Mocks { #endregion
- #region IProtocolMessage Members
+ #region IProtocolMessage Properties
Version IProtocolMessage.ProtocolVersion {
get { return new Version(1, 0); }
@@ -46,6 +46,14 @@ namespace DotNetOAuth.Test.Mocks { get { return this.transport; }
}
+ #endregion
+
+ protected virtual MessageProtection RequiredProtection {
+ get { return MessageProtection.None; }
+ }
+
+ #region IProtocolMessage Methods
+
void IProtocolMessage.EnsureValidMessage() {
if (this.EmptyMember != null || this.Age < 0) {
throw new ProtocolException();
@@ -53,9 +61,5 @@ namespace DotNetOAuth.Test.Mocks { }
#endregion
-
- protected virtual MessageProtection RequiredProtection {
- get { return MessageProtection.None; }
- }
}
}
|