コード例 #1
0
 public void CreateAuthenticationIdTest()
 {
     var target = new MockAuthenticationProvider();
     string accountId = "1";
     string expected = string.Empty;
     string actual;
     actual = target.CreateAuthenticationId(accountId);
     Assert.IsNotNull(actual);
 }
コード例 #2
0
        public void LogoutTest()
        {
            var target = new MockAuthenticationProvider();
            string accountId = "1";
            string authenticationId = target.CreateAuthenticationId(accountId);
            ;

            bool expected = true;
            bool actual;
            actual = target.Logout(authenticationId);
            Assert.AreEqual(expected, actual);
        }
コード例 #3
0
 public void MockAuthenticationProviderConstructorTest()
 {
     var target = new MockAuthenticationProvider();
 }