Assert.assertEquals(msg.getContent(), _provider.getMessages().poll().getMessage().getContent());
}
@Test
public void localInvocationTarget() throws Exception {
V1SCABindingModel config = new V1SCABindingModel(SwitchYardNamespace.DEFAULT.uri()) {
@Override
public String getName() {
return "testBinding";
}
public CompositeReferenceModel getReference() {
return new V1CompositeReferenceModel();
};
};
config.setTarget("ServiceB");
SCAInvoker invoker = new SCAInvoker(config);
invoker.start();
// Serivce A is for app 1, Service B is for app 2
final QName SERVICE_A = new QName("urn:test", "ServiceA");