m.invoke(superClass);
assertTrue(superClass.wasPrivateCalled());
};
@Test
public void testDeclaredMethodInjectly() throws Throwable {
ReflectionCaseSuperclass superClass = new ReflectionCaseSuperclass();
assertFalse(superClass.publicCall);
Method m = GwtReflect.getDeclaredMethod(SUPER_CLASS, PUBLIC_MEMBER);
assertNotNull(m);
m.invoke(superClass);
assertTrue(superClass.publicCall);