public void ShouldHaveValidationErrors(string wrongUrl) { // Arrange var validator = new UrlValidator(); // Act & Assert validator.ShouldHaveValidationErrorFor(x => x, wrongUrl); }