public void testInjectCacheJmxWrapper() throws Exception
{
createTcpCacheServer();
Configuration conf = UnitTestCacheConfigurationFactory.createConfiguration(Configuration.CacheMode.LOCAL, true);
CacheSPI cacheSPI = (CacheSPI) new DefaultCacheFactory().createCache(conf);
CacheJmxWrapper wrapper = new CacheJmxWrapper<Object, Object>(cacheSPI);
wrapper.start();
cache_server.setCacheJmxWrapper(wrapper);
startTcpCacheServer();
createCacheAndLoader();
cacheCheck();
usabilityCheck();