public void testHotRodCodec() throws Exception {
Cache<ByteArrayKey, CacheValue> cache = cacheManager.getCache();
RemoteCache<String, String> remoteCache = remoteCacheManager.getCache();
remoteCache.put("k1", "v1");
GenericJBossMarshaller marshaller = new GenericJBossMarshaller();
ByteArrayKey k1 = new ByteArrayKey(marshaller.objectToByteBuffer("k1"));
assertTrue(cache.containsKey(k1));
String sessionId = interpreter.createSessionId(BasicCacheContainer.DEFAULT_CACHE_NAME);
Map<String, String> response = interpreter.execute(sessionId, "get --codec=hotrod k1;");
assertEquals("v1", response.get(ResultKeys.OUTPUT.toString()));