MetadataResourceEngine { public VelocityContext getVelocityContext() { return resourceEngine.getVelocityContext(); } MetadataResourceEngine(SimpleFileSystem simpleFileSystem);  MetadataResourceEngine(SimpleFileSystem simpleFileSystem, MetadataResourceResolver metadataResourceResolver); VelocityContext getVelocityContext(); Resource readResource(String name, String path); void readRelatedResource(String sourceId, String sourcePath); void writeRelatedResource(String templatePath, String targetPath);  }
@Test public void testCreation() throws Exception { VelocityContext velocityContext = metadataResourceEngine.getVelocityContext(); assertNotNull(velocityContext); assertEquals(0, velocityContext.getKeys().length); }