@Test public void isEnabledFalseWithUnSetProperty() { System.clearProperty(KIE_TASK_ASSIGNING_RUNTIME_EXT_DISABLED); assertThat(extensionsLoader.isEnabled()).isFalse(); }
@Override public boolean isEnabled() { return "false".equals(System.getProperty(KIE_TASK_ASSIGNING_RUNTIME_EXT_DISABLED)); }
TaskAssigningPersistenceUnitExtensionsLoader implements PersistenceUnitExtensionsLoader { @Override public boolean isEnabled() { return "false".equals(System.getProperty(KIE_TASK_ASSIGNING_RUNTIME_EXT_DISABLED)); } }
TaskAssigningPersistenceUnitExtensionsLoader implements PersistenceUnitExtensionsLoader { @Override public boolean isEnabled() { return "false".equals(System.getProperty(KIE_TASK_ASSIGNING_RUNTIME_EXT_DISABLED)); } TaskAssigningPersistenceUnitExtensionsLoader(); }
TaskAssigningPersistenceUnitExtensionsLoader implements PersistenceUnitExtensionsLoader { @Override public boolean isEnabled() { return "false".equals(System.getProperty(KIE_TASK_ASSIGNING_RUNTIME_EXT_DISABLED)); } TaskAssigningPersistenceUnitExtensionsLoader(); @Override boolean isEnabled(); @Override void loadExtensions(PersistenceUnitInfo info); }
TaskAssigningPersistenceUnitExtensionsLoader implements PersistenceUnitExtensionsLoader { @Override public boolean isEnabled() { return "false".equals(System.getProperty(KIE_TASK_ASSIGNING_RUNTIME_EXT_DISABLED)); } TaskAssigningPersistenceUnitExtensionsLoader(); @Override boolean isEnabled(); @Override void loadExtensions(PersistenceUnitInfo info);  }