@Test public void testRegistryAdapterNegCase2() { thrown.expect(NullPointerException.class); RegistryAdapter adapter = new RegistryAdapter(); adapter.addCoreTriggers(); fail("Expecting an exception."); }
public List<Trigger> addCoreTriggers() { List<Trigger> triggers = getWorkflowScheduleService().triggerWorkflowScheduling(); return triggers; }
RegistryAdapter { public List<Trigger> addCoreTriggers() { List<Trigger> triggers = getWorkflowScheduleService().triggerWorkflowScheduling(); return triggers; } }
RegistryAdapter { public List<Trigger> addCoreTriggers() { List<Trigger> triggers = getWorkflowScheduleService().triggerWorkflowScheduling(); return triggers; }  }
RegistryAdapter { public List<Trigger> addCoreTriggers() { List<Trigger> triggers = getWorkflowScheduleService().triggerWorkflowScheduling(); return triggers; }  Trigger[] getTriggers(); List<Trigger> addCoreTriggers(); void setSchedulerBean(final SchedulerFactoryBean schedulerBean); SchedulerFactoryBean getSchedulerBean(); Registerable getRegistry(); void setRegistry(Registerable registry); WorkflowScheduleService getWorkflowScheduleService(); void setWorkflowScheduleService(WorkflowScheduleService workflowScheduleService); }
RegistryAdapter { public List<Trigger> addCoreTriggers() { List<Trigger> triggers = getWorkflowScheduleService().triggerWorkflowScheduling(); return triggers; }  Trigger[] getTriggers(); List<Trigger> addCoreTriggers(); void setSchedulerBean(final SchedulerFactoryBean schedulerBean); SchedulerFactoryBean getSchedulerBean(); Registerable getRegistry(); void setRegistry(Registerable registry); WorkflowScheduleService getWorkflowScheduleService(); void setWorkflowScheduleService(WorkflowScheduleService workflowScheduleService);  }