@Test
public void testMissingExecutorUpdate() throws Exception {

  final Executor executor = new Executor(1, "localhost", 1234, true);
  assertThatThrownBy(() -> this.executorDao.updateExecutor(executor))
      .isInstanceOf(ExecutorManagerException.class)
      .hasMessageContaining("No executor with id");
}