+ "the proper closure using an anonymous function or by calling "
+ "Function.prototype.bind");
}
public void testAssignment_InstanceMethod_toVariable() {
MockJavaResource buggy = JavaResourceBase.createMockJavaResource("Some",
"public class Some {",
" public void callback() {",
" }",
" native void installCallback(Some o) /*-{",
" var a = o.@Some::callback();",