public void AutheticateUser_CorrectUserIncorrectPassword_ReturnsSuccess() { using (ShimsContext.Create()) { // Act AuthenticationResult actualResult = LdapSsoDal.AutheticateUser(TEST_USERNAME, TEST_PASSWORD); // Assert actualResult.ShouldBe(AuthenticationResult.SUCCESS); } }
public void AutheticateUser_CorrectUserRenewLease_ReturnsSuccess() { using (ShimsContext.Create()) { // Act AuthenticationResult actualResult = LdapSsoDal.AutheticateUser(TEST_USERNAME, string.Empty); // Assert actualResult.ShouldBe(AuthenticationResult.SUCCESS); } }