### Question:
BoonTemplate implements Template { @Override public String replaceFromResource(String resource, Object... context) { final String template = Boon.resource(resource); return replace(template, context); } BoonTemplate();  BoonTemplate(TemplateParser templateParser);  BoonTemplate(ExpressionContext context, TemplateParser templateParser); @Override String replace(String template, Object... context); @Override String replaceFromResource(String resource, Object... context); @Override String replaceFromFile(String resource, Object... context); @Override String replaceFromURI(String resource, Object... context); String inlcudeFromURI(String resource); void displayTokens(); static Template template(); static Template jstl(); void addFunctions(Class<?> functions); void addFunctions(String prefix, Class<?> functions);  }### Answer:
@Test public void cForSortEmployeesWithResouce() { employees = Lists.list( new Employee("Rick", "Hightower", 1, new Phone("320", "555", "1212"), Fruit.ORANGES, Fruit.APPLES, Fruit.STRAWBERRIES), new Employee("Adam", "Hightower", 1, new Phone("320", "555", "1212"), Fruit.ORANGES, Fruit.APPLES, Fruit.STRAWBERRIES), new Employee("Zed", "Hightower", 1, new Phone("320", "555", "1212"), Fruit.ORANGES, Fruit.APPLES, Fruit.STRAWBERRIES), new Employee("Lucas", "Hightower", 1, new Phone("320", "555", "1212"), Fruit.ORANGES, Fruit.APPLES, Fruit.STRAWBERRIES), new Employee("Ryan", "Hightower", 1, new Phone("320", "555", "1212"), Fruit.ORANGES, Fruit.APPLES, Fruit.STRAWBERRIES), new Employee("Lucas", "Smith", 1, new Phone("320", "555", "1212"), Fruit.ORANGES, Fruit.APPLES, Fruit.STRAWBERRIES) ); String results = template.replaceFromResource( "/templates/employeeTemplate.jsp", Maps.map("employees", employees)); Boon.equalsOrDie("#\n" + " Adam, Hightower\n" + "\n" + " Lucas, Hightower\n" + "\n" + " Lucas, Smith\n" + "\n" + " Rick, Hightower\n" + "\n" + " Ryan, Hightower\n" + "\n" + " Zed, Hightower\n" + "#", "#" + results + "#"); }