*/
@Test
public void testTextLengthFailsWithMinAndMaxLengthOverLength() {
TextLengthTestObject testObject = new TextLengthTestObject();
testObject.minAndMaxLengthString = "abcdefghijklm";
ValidationResult result = createMock(ValidationResult.class);
result.recordValidationViolation(
"minAndMaxLengthString",
"TextLengthTestObject.minAndMaxLengthString.textSize",
testObject.minAndMaxLengthString);
replay(result);
AnnotatedObjectValidator.validate(testObject, result);