### Question:
CorbaBindingFactory extends AbstractWSDLBindingFactory implements ConduitInitiator, DestinationFactory { public Conduit getConduit(EndpointInfo endpointInfo, Bus bus) throws IOException { return getConduit(endpointInfo, null, bus); } CorbaBindingFactory(); void setOrbClass(String cls); void setOrbSingletonClass(String cls); Binding createBinding(BindingInfo bindingInfo); Conduit getConduit(EndpointInfo endpointInfo, Bus bus); Conduit getConduit(EndpointInfo endpointInfo, EndpointReferenceType target, Bus bus); Destination getDestination(EndpointInfo endpointInfo, Bus bus); List<String> getTransportIds(); void setTransportIds(List<String> ids); void setOrbArgs(List<String> args); Set<String> getUriPrefixes(); OrbConfig getOrbConfig(); void setOrbConfig(OrbConfig config); static final Collection<String> DEFAULT_NAMESPACES; }### Answer:
@Test public void testGetCorbaConduit() throws Exception { setupServiceInfo("http: "/wsdl_corbabinding/simpleIdl.wsdl", "SimpleCORBAService", "SimpleCORBAPort"); Conduit conduit = factory.getConduit(endpointInfo, bus); assertNotNull(conduit); conduit = factory.getConduit(endpointInfo, null, bus); assertNotNull(conduit); target = EasyMock.createMock(EndpointReferenceType.class); conduit = factory.getConduit(endpointInfo, target, bus); assertNotNull(conduit); }