### Question:
ProjectDescriptionValidationImpl extends AbstractSimpleStringValidation implements ProjectDescriptionValidation { @Override protected void validate(ValidationContext<String> context) { validateNotNull(context); if (context.isInValid()) { return; } validateMaxLength(context); }    }### Answer:
@Test public void an_empty_description_is_valid() { assertTrue(validationToTest.validate("").isValid()); }
@Test public void null_is_invalid() { assertFalse(validationToTest.validate((String)null).isValid()); }
@Test public void a_description_having_exact_171_chars_is_invalid() { assertFalse(validationToTest.validate(prepare(171)).isValid()); }
@Test public void a_description_having_exact_170_chars_is_valid() { assertTrue(validationToTest.validate(prepare(170)).isValid()); }