public void Name_ShouldNotHaveError_When_Length_LessThanOrEqualTo_MaxLength() { for (var i = 1; i <= DataConfiguration.SHORT_STRING_LENGTH; i++) { _sut.ShouldNotHaveValidationErrorFor(m => m.Name, new String('x', i)); } }