@Test
public void testFetchActiveExecutors() throws Exception {

  final List<Executor> executors = addTestExecutors();
  executors.get(0).setActive(true);
  this.executorDao.updateExecutor(executors.get(0));
  final List<Executor> fetchedExecutors = this.executorDao.fetchActiveExecutors();
  assertThat(executors.size()).isEqualTo(fetchedExecutors.size() + 2);
  assertThat(executors.get(0)).isEqualTo(fetchedExecutors.get(0));
}