assertEquals(false, mi.getToString());
}
public void testInherited()
{
MethodIterator mi = new MethodIterator(Play.class);
assertTrue(mi.hasNext());
// Problematic because the order in which they are returned is
// JDK specific and not defined!
MethodSignature actual = mi.next();
assertEquals(new MethodSignature(void.class, "jump", null, null), actual);
assertTrue(mi.hasNext());
actual = mi.next();
assertEquals(new MethodSignature(void.class, "run", null, null), actual);
assertFalse(mi.hasNext());
assertEquals(false, mi.getToString());
}