public void AuthenticationService_Service_Can_Authenticate_Using_Url() { IAuthenticationService authService = new TestAuthenticationService(); bool isAuthenticated = authService.IsValidLogin(new Uri("http://test.com/")); Assert.IsTrue(isAuthenticated); }
public void AuthenticationService_Service_Fails_Using_Invalid_UserName_And_Password() { IAuthenticationService authService = new TestAuthenticationService(); bool isAuthenticated = authService.IsValidLogin("poo", "poo"); Assert.IsFalse(isAuthenticated); }
public void AuthenticationService_Service_Can_Authenticate_Using_UserName_And_Password() { IAuthenticationService authService = new TestAuthenticationService(); bool isAuthenticated = authService.IsValidLogin("test", "password"); Assert.IsTrue(isAuthenticated); }
public void AuthenticationService_Service_Can_Authenticate_Using_Url() { IAuthenticationService authService = new TestAuthenticationService(); bool isAuthenticated = authService.IsValidLogin(new Uri("http://test.com/")); Assert.IsTrue(isAuthenticated); }
public void AuthenticationService_Service_Fails_Using_Invalid_UserName_And_Password() { IAuthenticationService authService = new TestAuthenticationService(); bool isAuthenticated = authService.IsValidLogin("poo", "poo"); Assert.IsFalse(isAuthenticated); }
public void AuthenticationService_Service_Can_Authenticate_Using_UserName_And_Password() { IAuthenticationService authService = new TestAuthenticationService(); bool isAuthenticated = authService.IsValidLogin("test", "password"); Assert.IsTrue(isAuthenticated); }