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