assertNotNull(binding);
assertTrue(CorbaBindingImpl.class.isInstance(binding));
}
public void testCreateServerBinding() throws Exception {
Bus bus = Bus.init(new String[0]);
// programmatically add the corba binding factory
BindingManager manager = bus.getBindingManager();
CorbaBindingFactory corbaBF = new CorbaBindingFactory();
corbaBF.init(bus);
manager.registerBinding(CorbaConstants.NU_WSDL_CORBA, corbaBF);
BindingFactory factory =
bus.getBindingManager().getBindingFactory("http://schemas.apache.org/yoko/bindings/corba");
EndpointReferenceType address = testUtils.getSimpleTestEndpointReference();
ServerBinding sb = factory.createServerBinding(address, null);
assertNotNull(sb);