@Test
public void testFetchAllExecutors() throws Exception {

  final List<Executor> executors = addTestExecutors();
  executors.get(0).setActive(false);
  this.executorDao.updateExecutor(executors.get(0));
  final List<Executor> fetchedExecutors = this.executorDao.fetchAllExecutors();
  assertThat(executors.size()).isEqualTo(fetchedExecutors.size());
  assertThat(executors.toArray()).isEqualTo(fetchedExecutors.toArray());
}