ChessClient.Tests.Controllers.AccountControllerTest.MockFormsAuthenticationService.SignIn C# (CSharp) Method

SignIn() public method

public SignIn ( string userName, bool createPersistentCookie ) : void
userName string
createPersistentCookie bool
return void
            public void SignIn(string userName, bool createPersistentCookie)
            {
                // verify that the arguments are what we expected
                Assert.AreEqual("someUser", userName);
                Assert.IsFalse(createPersistentCookie);

                SignIn_WasCalled = true;
            }
AccountControllerTest.MockFormsAuthenticationService