@Test(expectedExceptions = DateTimeException.class) public void test_factory_CalendricalObject_invalid_noDerive() { Month.from(LocalTime.of(12, 30)); }
@Test(expectedExceptions = NullPointerException.class) public void test_factory_CalendricalObject_null() { Month.from((TemporalAccessor) null); }
// ----------------------------------------------------------------------- @Test public void test_factory_CalendricalObject() { assertEquals(Month.from(LocalDate.of(2011, 6, 6)), JUNE); }