public void testConfigureMarshaller() {
   GlobalConfigurationBuilder gc = new GlobalConfigurationBuilder();
   TestObjectStreamMarshaller marshaller = new TestObjectStreamMarshaller();
   gc.serialization().marshaller(marshaller);
   withCacheManager(
       new CacheManagerCallable(createCacheManager(gc, new ConfigurationBuilder())) {
         @Override
         public void call() {
           cm.getCache();
         }
       });
   marshaller.stop();
 }
package org.infinispan.iteration;