required.get(0).setProvider(provided);
- provided.publish("hello", _scope);
+ _scope.publishInterface(provided, "hello");
config.create(_scope);
AssertionUtils.assertEquals(new String[] { "x1(hello)" }, AdapterTestCase.EVENT_TRACKER
assertEquals(1, required.size());
required.get(0).setProvider(provided);
- provided.publish("hello", _scope);
+ _scope.publishInterface(provided, "hello");
config.create(_scope);
AssertionUtils.assertEquals(new String[] { "x2(hello)" }, AdapterTestCase.EVENT_TRACKER
assertEquals(1, required.size());
required.get(0).setProvider(provided);
- provided.publish("hello", _scope);
+ _scope.publishInterface(provided, "hello");
config.create(_scope);
AssertionUtils.assertEquals(new String[] { "x1(hello)" }, AdapterTestCase.EVENT_TRACKER
required.get(0).setProvider(provided);
- provided.publish("hello", _scope);
+ _scope.publishInterface(provided, "hello");
config.create(_scope);
AssertionUtils.assertEquals(new String[] { "x3(hello)" }, AdapterTestCase.EVENT_TRACKER