public void Validate_GivenEmptyPassword_ShouldHaveError() { SignInViewModelValidator subject = new SignInViewModelValidator(); subject.ShouldHaveValidationErrorFor(x => x.Password, null as string); }
public void Validate_GivenEmptyEmailAddress_ShouldHaveError() { SignInViewModelValidator subject = new SignInViewModelValidator(); subject.ShouldHaveValidationErrorFor(x => x.EmailAddress, null as string); }