コード例 #1
0
        public void LogOut_WhenUserNameLogOut_ShouldChangeIsUserAuthenticatedToFalse()
        {
            string userToTest     = "123";
            string passwordToTest = "password";

            _authentificationService.LogIn(userToTest, passwordToTest);
            _authentificationService.LogOut();
            Assert.False(_authentificationService.IsUserAuthenticated);
        }