@@ -0,0 +1,795 @@
+package au.com.anthonybruno.generator.format;%0A%0Aimport org.junit.Test;%0A%0Aimport java.text.DateFormat;%0Aimport java.text.SimpleDateFormat;%0Aimport java.time.Instant;%0Aimport java.time.LocalDate;%0Aimport java.util.Date;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class DateFormatterTest %7B%0A%0A    @Test%0A    public void formatBasicDate() %7B%0A        DateFormat dateFormat = new SimpleDateFormat(%22yyyy/M/d%22);%0A        DateFormatter dateFormatter = new DateFormatter(dateFormat);%0A%0A        Instant instant = Instant.now();%0A        String formattedDate = dateFormatter.format(Date.from(instant));%0A        LocalDate date = LocalDate.now();%0A%0A        String expectedDate = date.getYear() + %22/%22 + date.getMonthValue() + %22/%22 + date.getDayOfMonth();%0A        assertEquals(expectedDate, formattedDate);%0A    %7D%0A%7D%0A

Add dateformatter test