189190191192193194195196197198199
Object sb = controller.getInstalledContext("SupplyBean").getTarget(); assertNotNull(sb); } finally { deployer.undeploy(deployment); } } @SuppressWarnings("deprecation") public void testDemandWithTargetState() throws Throwable
220221222223224225226227228229230
Object sb = controller.getInstalledContext("SupplyBean").getTarget(); assertNotNull(sb); } finally { deployer.undeploy(deployment); } } @SuppressWarnings("deprecation") public void testDependency() throws Throwable
251252253254255256257258259260261
Object rb = controller.getInstalledContext("DependencyResolver").getTarget(); assertNotNull(rb); } finally { deployer.undeploy(deployment); } } @SuppressWarnings("deprecation") public void testCollectionProperties() throws Throwable
327328329330331332333334335336337
assertEquals("Uno", mp.get("One")); assertEquals("Dos", mp.get("Two")); } finally { deployer.undeploy(deployment); } } @SuppressWarnings("deprecation") public void testReplacePropertyMetaData() throws Throwable
399400401402403404405406407408409
assertEquals("Uno", mp.get("One")); assertEquals("Dos", mp.get("Two")); } finally { deployer.undeploy(deployment); } } public void testCallbacks() throws Throwable {