public void testCreate() throws Exception {
final String TARGET = "foo";
final String TARGET_NS = "urn:bar";
final String STRATEGY = "RoundRobin";
SCABindingModel scab = new V1SCABindingModel(SwitchYardNamespace.DEFAULT.uri());
scab.setClustered(true)
.setLoadBalance(STRATEGY)
.setTarget(TARGET)
.setTargetNamespace(TARGET_NS);
Assert.assertEquals(STRATEGY, scab.getLoadBalance());
Assert.assertEquals(TARGET, scab.getTarget());
Assert.assertEquals(TARGET_NS, scab.getTargetNamespace());
Assert.assertTrue(scab.isClustered());
Assert.assertTrue(scab.hasTarget());
Assert.assertTrue(scab.hasTargetNamespace());
Assert.assertTrue(scab.isLoadBalanced());
}