public void testRuby() { String result = EngineManager.getInstance().render("{api:String@Ruby}", context); assertEquals( "Ruby namespace is used", "<a href=\"http://www.rubycentral.com/book/ref_c_string.html\">String</a>", result); }
public void testApi() { String result = EngineManager.getInstance().render("{api:java.lang.object}", context); assertEquals( "<a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/lang/object.html\">java.lang.object</a>", result); }