assertTrue("Serialized version does not contain the correct schema information", serializedVersion //$NON-NLS-1$
.startsWith(STRING_SERIALIZATION_PREFIX + resourceLoader.getClass().getName() + ';'));
assertTrue("Serialized version should contain the filename", serializedVersion.endsWith(URL2)); //$NON-NLS-1$
// Create a key with factory parameters
factoryParameters.put(new FactoryParameterKey("this"), "that");
factoryParameters.put(new FactoryParameterKey("null"), null);
key = manager.createKey(new URL(URL1), factoryParameters);
serializedVersion = resourceLoader.serialize(key, key);
assertEquals("resourcekey:org.pentaho.reporting.libraries.resourceloader.loader.URLResourceLoader;" +
"http://www.pentaho.com/index.html;\"\"\"f:this=that\"\":\"\"f:null=\"\"\"", serializedVersion);