required.get(0).setProvider(provided);
- _scope.publishInterface(provided, "hello");
- classConfig.create(_scope);
+ scope.publishInterface(provided, "hello");
+ classConfig.create(scope);
AssertionUtils.assertEquals(new String[] { "x1(hello)" },
AdapterTestCase.EVENT_TRACKER.getEvents(Thread.currentThread())
required.get(0).setProvider(providedBoolean);
required.get(1).setProvider(providedHost);
- _scope.publishInterface(providedBoolean, true);
- _scope.publishInterface(providedHost, "host.name.org");
+ scope.publishInterface(providedBoolean, true);
+ scope.publishInterface(providedHost, "host.name.org");
- Object obj = classConfig.create(_scope);
+ Object obj = classConfig.create(scope);
assertTrue(obj instanceof X7);
X7 x7 = (X7)obj;
assertNotNull(x7.getBoolean());
assertNull(x7.getHost());
assertNull(x7.getPort());
- classConfig.inject(_scope, obj);
+ classConfig.inject(scope, obj);
assertEquals("host.name.org", x7.getHost());
assertEquals(10, x7.getPort().intValue());