### Question:
JenaObjectWrapper extends DefaultObjectWrapper { public TemplateModel wrap(Object obj) throws TemplateModelException { if (obj instanceof Resource) { return new ResourceHashModel((Resource) obj); } else { return super.wrap(obj); } } JenaObjectWrapper(); TemplateModel wrap(Object obj);  }### Answer:
@Test public void testSuperClassCalled() throws TemplateModelException { TemplateModel model = wrapper.wrap(""); assertTrue(model instanceof SimpleScalar); }