}
Map<String, Object> context = new HashMap<String, Object>();
context.put("user", new User("liangfei", "admin"));
context.put("books", books);
Model model = new ModelMock();
model.put("user", new User("liangfei", "admin"));
model.put("books", books);
// freemark
StringWriter writer = new StringWriter();
Configuration configuration = new Configuration();
configuration.setTemplateLoader(new ClassTemplateLoader(PerformanceTest.class, "/"));