final String source = "${ staticInnerClass instanceof TemplateClassBindingTest.StaticInnerClass }";
GroovyTemplate groovyTemplate = new GroovyTemplate("dynamic_class_binding_with_instanceof", source);
new GroovyTemplateCompiler().compile(groovyTemplate);
Map<String, Object> args = new HashMap<String,Object>();
args.put("staticInnerClass", staticInnerClass);
assertEquals("true", groovyTemplate.render(args));
}
@Test
public void testDynamicClassBindingWithDotClass() {
StaticInnerClass staticInnerClass = new StaticInnerClass();