use of org.eclipse.smarthome.automation.type.ModuleTypeRegistry in project smarthome by eclipse.
the class RuntimeRuleTest method modeTypesRegistration.
@Test
public void modeTypesRegistration() {
final ModuleTypeRegistry mtr = getService(ModuleTypeRegistry.class);
waitForAssert(() -> {
Assert.assertNotNull(mtr.get("core.GenericEventTrigger"));
Assert.assertNotNull(mtr.get("core.GenericEventCondition"));
Assert.assertNotNull(mtr.get("core.ItemStateChangeTrigger"));
Assert.assertNotNull(mtr.get("core.ItemStateUpdateTrigger"));
Assert.assertNotNull(mtr.get(CompareConditionHandler.MODULE_TYPE));
});
}
Aggregations