// Can we start the service?
assertNotNull("Could not load Service!", ts);
// Did we register the Velocity Service correctly for "vm" templates?
VelocityService vs = (VelocityService) TurbineServices
.getInstance().getService(VelocityService.SERVICE_NAME);
TemplateEngineService tes = ts.getTemplateEngineService("foo.vm");
assertEquals("Template Service did not return Velocity Service for .vm Templates", vs, tes);