public void testGetValueNull() throws TemplateModelException {
Template template = createMock(Template.class);
TemplateHashModel model = createMock(TemplateHashModel.class);
TemplateScalarModel valueModel = createMock(TemplateScalarModel.class);
Configuration configuration = createMock(Configuration.class);
ObjectWrapper objectWrapper = createMock(ObjectWrapper.class);
Writer writer = new StringWriter();
expect(template.getMacros()).andReturn(new HashMap<Object, Object>());
expect(model.get("key")).andReturn(null);
expect(template.getConfiguration()).andReturn(configuration);