public void LoginForUserNotExists() { var loginService = new LoginServiceImpl(new UserDALImpl(new InfraDAL(), _configuration)); LoginRequest request = new LoginRequest(); request.EmailAddress = "*****@*****.**"; var response = loginService.Login(request); Assert.IsInstanceOf(typeof(LoginResponseUserNotExists), response); }
public void LoginOkTest() { var loginService = new LoginServiceImpl(new UserDALImpl(new InfraDAL(), _configuration)); LoginRequest request = new LoginRequest(); request.EmailAddress = "*****@*****.**"; var response = loginService.Login(request); Assert.IsInstanceOf(typeof(LoginResponseOK), response); }