@Test
public void testSequence() throws Throwable {

  MockService one = new MockService("one", false, 100);
  MockService two = new MockService("two", false, 100);
  ServiceParent parent = startService(one, two);
  waitForParentToStop(parent);
  assertStopped(one);
  assertStopped(two);
  assert ((WorkflowSequenceService) parent).getPreviousService().equals(two);
}