Beispiel #1
0
        public void Validate_GivenEmptyPassword_ShouldHaveError()
        {
            SignInViewModelValidator subject = new SignInViewModelValidator();

            subject.ShouldHaveValidationErrorFor(x => x.Password, null as string);
        }
Beispiel #2
0
        public void Validate_GivenEmptyEmailAddress_ShouldHaveError()
        {
            SignInViewModelValidator subject = new SignInViewModelValidator();

            subject.ShouldHaveValidationErrorFor(x => x.EmailAddress, null as string);
        }