@Test public void 現在時刻が20120201の場合_getRemainginDaysは28を返す() { MonthlyCalendar sut = new MonthlyCalendar(newCalendar(2012, 2, 1)); assertThat(sut.getRemainginDays(), is(28)); }
@Test public void 現在時刻が20120130の場合_getRemainginDaysは1を返す() { MonthlyCalendar sut = new MonthlyCalendar(newCalendar(2012, 1, 30)); assertThat(sut.getRemainginDays(), is(1)); }