@Test
  public void testChildren() throws Exception {
    EasyMock.replay(mockFlow1, mockFlow2, props);

    Assert.assertTrue("GroupedExecutableFlow should have children.", flow.hasChildren());
    Assert.assertEquals(2, flow.getChildren().size());
    Assert.assertEquals(mockFlow1, flow.getChildren().get(0));
    Assert.assertEquals(mockFlow2, flow.getChildren().get(1));
  }