* #setAttribute(freemarker.core.Environment, java.lang.String, java.lang.Object, java.lang.String)}.
* @throws TemplateModelException If something goes wrong.
*/
@Test
public void testSetAttributePage() throws TemplateModelException {
ObjectWrapper objectWrapper = createMock(ObjectWrapper.class);
GenericServlet servlet = createMock(GenericServlet.class);
TemplateModel wrappedObj = createMock(TemplateModel.class);
Integer myObj = new Integer(DUMMY_VALUE);
expect(objectWrapper.wrap(myObj)).andReturn(wrappedObj);
replay(servlet, objectWrapper);
expect(template.getObjectWrapper()).andReturn(objectWrapper);
replay(template, model, wrappedObj);