@Test
public void testFailureRun() throws Throwable {

  ExecutorSvc svc = run(new ExecutorSvc());
  ServiceTerminatingRunnable runnable = new ServiceTerminatingRunnable(svc,
      new SimpleRunnable(true));
  // synchronous in-thread execution
  svc.execute(runnable);
  Thread.sleep(1000);
  assertStopped(svc);
  assertNotNull(runnable.getException());
}