@Test
public void testFailingSequence() throws Throwable {

  MockService one = new MockService("one", true, 100);
  MockService two = new MockService("two", false, 100);
  WorkflowSequenceService parent =
      (WorkflowSequenceService) startService(one, two);
  waitForParentToStop(parent);
  assertStopped(one);
  assertInState(two, Service.STATE.NOTINITED);
  assertEquals(one, parent.getPreviousService());
}