@Test
public void whenDurationIsNotANumberExpectIsNotValid() {

    ValidationResult validationResult = taskValidation.isDurationValid(INVALID_DURATION);
    assertThat(validationResult.getValidationStatus(), is(ValidationStatus.INVALID));
    assertThat(validationResult.getValidationInfo(), is(ERROR_MESSAGE_ONLY_NUMBERS));
}