### Question:
BaseDateTimeLib { protected LocalDate makeLocalDate(String literal) { if (StringUtils.isBlank(literal)) { return null; } if (hasTime(literal)) { return null; } if (invalidYear(literal)) { return null; } return LocalDate.parse(literal, FEEL_DATE_FORMAT); }   static final DateTimeFormatter FEEL_DATE_FORMAT; static final DateTimeFormatter FEEL_TIME_FORMAT; static final DateTimeFormatter FEEL_DATE_TIME_FORMAT; }### Answer:
@Test public void testMakeLocalDate() { assertEquals("2017-08-10", this.dateTimeLib.makeLocalDate("2017-08-10").format(BaseDateTimeLib.FEEL_DATE_FORMAT)); assertEquals("9999-01-01", this.dateTimeLib.makeLocalDate("9999-01-01").format(BaseDateTimeLib.FEEL_DATE_FORMAT)); assertEquals("999999999-01-01", this.dateTimeLib.makeLocalDate("999999999-01-01").format(BaseDateTimeLib.FEEL_DATE_FORMAT)); assertEquals("-999999999-01-01", this.dateTimeLib.makeLocalDate("-999999999-01-01").format(BaseDateTimeLib.FEEL_DATE_FORMAT)); }
@Test(expected = DateTimeParseException.class) public void testMakeLocalDateWhenSign() { assertNotNull(this.dateTimeLib.makeLocalDate("+999999999-01-01")); }