public void CustomerViewModelValidator_Validate_CustomerNameIsTooLong_IsValidationError() { _validator.ShouldHaveValidationErrorFor(model => model.CustomerName, new CustomerViewModel { CustomerName = new string('X', _customerNameLength + 1) }); }