### Question:
CorbaBindingFactory extends AbstractWSDLBindingFactory implements ConduitInitiator, DestinationFactory { public Destination getDestination(EndpointInfo endpointInfo, Bus bus) throws IOException { return new CorbaDestination(endpointInfo, orbConfig); } 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 testGetDestination() throws Exception { setupServiceInfo("http: "/wsdl_corbabinding/simpleIdl.wsdl", "SimpleCORBAService", "SimpleCORBAPort"); Destination destination = factory.getDestination(endpointInfo, bus); assertNotNull(destination); target = destination.getAddress(); assertNotNull(target); }