ResourceEngine { public VelocityContext getVelocityContext() { return velocityContext; } ResourceEngine();  ResourceEngine(VelocityEngine velocityEngine); VelocityContext getVelocityContext(); Resource processResource(Resource resource); Resource processAndAddResource(String name, Resource resource); Resource getResource(String name);  }
@Test public void testGetVelocityContext() throws Exception { ResourceEngine engine = new ResourceEngine(); VelocityContext velocityContext = engine.getVelocityContext(); assertNotNull(velocityContext); assertEquals(0, velocityContext.getKeys().length); }