public async Task AuthenticatePasswordWithUserId_UserIDAuthentication_EmailAndPasswordDoNotAuthenticateSuccesfully(string password, int userId) { IDataGateway dataGateway = new SQLServerGateway(); IConnectionStringData connectionString = new ConnectionStringData(); IUserAccountRepository userAccount = new UserAccountRepository(dataGateway, connectionString); IAuthenticationService authenticationService = new AuthenticationService(userAccount); bool AuthenticationToken = await authenticationService.AuthenticatePasswordWithUserId(password, userId); if (AuthenticationToken == true) { Assert.IsTrue(false); } else { Assert.IsTrue(true); } }