public void testSerializeDeserializeRoundtrip() throws Exception
{
final FileResourceLoader fileResourceLoader = new FileResourceLoader();
final Map<ParameterKey, Object> factoryParams = new HashMap<ParameterKey, Object>();
final ResourceManager manager = new ResourceManager();
manager.registerDefaults();
factoryParams.put(new FactoryParameterKey("this"), "that");
factoryParams.put(new FactoryParameterKey("null"), null);
final ResourceKey originalKey = manager.createKey(tempFile, factoryParams);