diff options
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/Messages/AssociateDiffieHellmanRequestTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/Messages/AssociateDiffieHellmanRequestTests.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Messages/AssociateDiffieHellmanRequestTests.cs b/src/DotNetOpenAuth.Test/OpenId/Messages/AssociateDiffieHellmanRequestTests.cs new file mode 100644 index 0000000..81014f2 --- /dev/null +++ b/src/DotNetOpenAuth.Test/OpenId/Messages/AssociateDiffieHellmanRequestTests.cs @@ -0,0 +1,32 @@ +//----------------------------------------------------------------------- +// <copyright file="AssociateDiffieHellmanRequestTests.cs" company="Andrew Arnott"> +// Copyright (c) Andrew Arnott. All rights reserved. +// </copyright> +//----------------------------------------------------------------------- + +namespace DotNetOpenAuth.Test.OpenId.Messages { + using System; + using DotNetOpenAuth.OpenId.Messages; + using Microsoft.VisualStudio.TestTools.UnitTesting; + + [TestClass] + public class AssociateDiffieHellmanRequestTests { + private static readonly Uri Recipient = new Uri("http://host"); + private AssociateDiffieHellmanRequest request; + + [TestInitialize] + public void Setup() { + this.request = new AssociateDiffieHellmanRequest(Recipient); + } + + [TestMethod] + public void Ctor() { + Assert.AreEqual(Recipient, this.request.Recipient); + } + + [TestMethod] + public void Mode() { + Assert.AreEqual("associate", this.request.Mode); + } + } +} |