public void Should_have_error_when_author_is_null_or_empty() { var book = _bookBuilder.CreateAuthorlessBook(); _bookValidator.ShouldHaveValidationErrorFor(x => x.Author, book); }
public void Should_have_error_when_author_is_null_or_empty() { var book = _bookBuilder.CreateAuthorlessBook(); _bookValidator.ShouldHaveValidationErrorFor(x => x.Author, book); }