X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fgeneral%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fadapters%2FConstructorConfigurationTest.java;fp=system%2Fgeneral%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fadapters%2FConstructorConfigurationTest.java;h=0cec6fba5299f8ca833d1972dae978c674af0aef;hb=db8ff5916d378aae57038356dbf2a3d2fbf9deff;hp=b7b1497c1639a1cadb146ceceeec50678d06bb06;hpb=d4f4682056f4fdf0c74a174cd636f278423f6883;p=utils diff --git a/system/general/src/test/java/org/wamblee/system/adapters/ConstructorConfigurationTest.java b/system/general/src/test/java/org/wamblee/system/adapters/ConstructorConfigurationTest.java index b7b1497c..0cec6fba 100644 --- a/system/general/src/test/java/org/wamblee/system/adapters/ConstructorConfigurationTest.java +++ b/system/general/src/test/java/org/wamblee/system/adapters/ConstructorConfigurationTest.java @@ -37,7 +37,7 @@ public class ConstructorConfigurationTest extends AdapterTestCase { 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 @@ -65,7 +65,7 @@ public class ConstructorConfigurationTest extends AdapterTestCase { 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 @@ -94,7 +94,7 @@ public class ConstructorConfigurationTest extends AdapterTestCase { 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 @@ -132,7 +132,7 @@ public class ConstructorConfigurationTest extends AdapterTestCase { 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