public void WhenIsDifferenctPassword_ShouldReturnFalse() { //Arrange var service = new CryptService(); //Act var result = service.IsValid("", PasswordHash); //Assert Assert.False(result); }
public void WhenIsTestPassword_ShouldReturnTrue() { //Arrange var service = new CryptService(); //Act var result = service.IsValid(Password, PasswordHash); //Assert Assert.True(result); }