@Test
public void testFactoryCreatesModuleHandlerForDaysetCondition() {

    when(moduleMock.getTypeUID()).thenReturn(EphemerisConditionHandler.DAYSET_MODULE_TYPE_ID);
    when(moduleMock.getConfiguration()).thenReturn(new Configuration(Map.of("dayset", "school")));
    ModuleHandler handler = factory.internalCreate(moduleMock, "My second rule");
    assertThat(handler, is(notNullValue()));
    assertThat(handler, instanceOf(EphemerisConditionHandler.class));
}