RouteDefinition route = assertOneRoute("routeWithStickyLoadBalance.xml");
assertFrom(route, "seda:a");
LoadBalanceDefinition loadBalance = assertOneProcessorInstanceOf(LoadBalanceDefinition.class, route);
assertEquals("Here should have 3 output here", 3, loadBalance.getOutputs().size());
assertTrue("The loadBalancer should be StickyLoadBalancerDefinition", loadBalance.getLoadBalancerType() instanceof StickyLoadBalancerDefinition);
StickyLoadBalancerDefinition strategy = (StickyLoadBalancerDefinition)loadBalance.getLoadBalancerType();
assertNotNull("the expression should not be null ", strategy.getCorrelationExpression());
}