WorkflowExecutorService { public List<WorkflowExecutor> getWorkflowExecutors() { return executorDao.getExecutors(); } @Inject  WorkflowExecutorService(ExecutorDao executorDao); List<WorkflowExecutor> getWorkflowExecutors();  }
@Test public void getWorkflowExecutorsWorks() { assertThat(service.getWorkflowExecutors().size(), is(equalTo(1))); }