public void testFlowBuilderFlowCall()
{
FlowBuilder flowBuilder = new FlowBuilderImpl();
flowBuilder.id("faces-flow1.xhtml", "flow1");
flowBuilder.flowCallNode("goToFlow2").outboundParameter("name1", "value1").
flowReference("faces-flow2.xhtml", "flow2").markAsStartNode();
Flow flow = flowBuilder.getFlow();
Assert.assertNotNull(flow);
Assert.assertEquals("goToFlow2", flow.getStartNodeId());