String fileName = getFileName("all.xml");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
convertor.parse(fileName, baos, XSLT_FILE, Thread.currentThread().getContextClassLoader());
System.out.println("Output file is:\n" + baos.toString());
withCacheManager(new CacheManagerCallable(TestCacheManagerFactory.fromStream(new ByteArrayInputStream(baos.toByteArray()))) {
@Override
public void call() {
Configuration defaultConfig = cm.getDefaultCacheConfiguration();
GlobalConfiguration globalConfig = cm.getCacheManagerConfiguration();