public void GivenAUser_WhenThePasswordHasBeenSet_AndTheSamePasswordIsCompared_ThenTheComparisonSucceeds() { var u = new User("email", "password"); u.MatchPassword("password").Should().BeTrue(); }
public void GivenAUser_WhenThePasswordHasBeenSet_AndADifferentPasswordIsCompared_ThenTheComparisonFails() { var u = new User("email", "password"); u.MatchPassword("password1").Should().BeFalse(); }