@Test public void calculateStartDate() { LocalDate calculatedDate = calculator.calculateStartDate(2011, 11); assertEquals(new LocalDate(2011, 11, 1), calculatedDate); }
public LocalDate calculateStartDate(int startYear, int startMonth) { return new LocalDate(startYear, startMonth, 1); }
MonthYearStartDateCalculator { public LocalDate calculateStartDate(int startYear, int startMonth) { return new LocalDate(startYear, startMonth, 1); } }
MonthYearStartDateCalculator { public LocalDate calculateStartDate(int startYear, int startMonth) { return new LocalDate(startYear, startMonth, 1); }  }
MonthYearStartDateCalculator { public LocalDate calculateStartDate(int startYear, int startMonth) { return new LocalDate(startYear, startMonth, 1); }  LocalDate calculateStartDate(int startYear, int startMonth); }
MonthYearStartDateCalculator { public LocalDate calculateStartDate(int startYear, int startMonth) { return new LocalDate(startYear, startMonth, 1); }  LocalDate calculateStartDate(int startYear, int startMonth);  }