summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId.Test/Mocks/MockIdentifier.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenId.Test/Mocks/MockIdentifier.cs')
-rw-r--r--src/DotNetOpenId.Test/Mocks/MockIdentifier.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/DotNetOpenId.Test/Mocks/MockIdentifier.cs b/src/DotNetOpenId.Test/Mocks/MockIdentifier.cs
index 5e22640..d18ab1b 100644
--- a/src/DotNetOpenId.Test/Mocks/MockIdentifier.cs
+++ b/src/DotNetOpenId.Test/Mocks/MockIdentifier.cs
@@ -14,7 +14,8 @@ namespace DotNetOpenId.Test.Mocks {
IEnumerable<ServiceEndpoint> endpoints;
Identifier wrappedIdentifier;
- public MockIdentifier(Identifier wrappedIdentifier, IEnumerable<ServiceEndpoint> endpoints) {
+ public MockIdentifier(Identifier wrappedIdentifier, IEnumerable<ServiceEndpoint> endpoints)
+ : base(false) {
if (wrappedIdentifier == null) throw new ArgumentNullException("wrappedIdentifier");
if (endpoints == null) throw new ArgumentNullException("endpoints");
this.wrappedIdentifier = wrappedIdentifier;
@@ -36,6 +37,10 @@ namespace DotNetOpenId.Test.Mocks {
return this;
}
+ internal override bool TryRequireSsl(out Identifier secureIdentifier) {
+ throw new NotSupportedException();
+ }
+
public override string ToString() {
return wrappedIdentifier.ToString();
}