Flow flow = flowBuilder.getFlow();
Assert.assertNotNull(flow);
Assert.assertEquals("y", flow.getStartNodeId());
ViewNode viewNode = flow.getViews().get(0);
Assert.assertEquals("x", viewNode.getId());
Assert.assertEquals("x.xhtml", viewNode.getVdlDocumentId());
viewNode = flow.getViews().get(1);
Assert.assertEquals("y", viewNode.getId());
Assert.assertEquals("y.xhtml", viewNode.getVdlDocumentId());
}