Assert.assertNotNull("cache service not installed", servicesA.getContainer().getService(cacheServiceName));
}
@Test
public void testLocalCacheAddRemoveAddSequence() throws Exception {
String subsystemXml = getSubsystemXml() ;
<BUG>KernelServices servicesA = super.installInController(subsystemXml) ;
ModelNode addOp = getCacheAddOperation("maximal", "fred", ModelKeys.LOCAL_CACHE);</BUG>
ModelNode removeOp = getCacheRemoveOperation("maximal", "fred", ModelKeys.LOCAL_CACHE);
ModelNode result = servicesA.executeOperation(addOp);
Assert.assertEquals(SUCCESS, result.get(OUTCOME).asString());

Assert.assertNotNull("cache service not installed", servicesA.getContainer().getService(cacheServiceName));
}
@Test
public void testLocalCacheAddRemoveAddSequence() throws Exception {
String subsystemXml = getSubsystemXml() ;
KernelServices servicesA = createKernelServicesBuilder(null).setSubsystemXml(subsystemXml).build();
ModelNode addOp = getCacheAddOperation("maximal", "fred", ModelKeys.LOCAL_CACHE);
ModelNode removeOp = getCacheRemoveOperation("maximal", "fred", ModelKeys.LOCAL_CACHE);
ModelNode result = servicesA.executeOperation(addOp);
Assert.assertEquals(SUCCESS, result.get(OUTCOME).asString());
