/** * Test method for {@link Main.Date#setMonth(int)}. * * @throws ParseException */ @Test public void testSetMonth() throws ParseException { d.setMonth(1); assertEquals(d.getMonth(), 1); }