public void testDeclaringClass() {
MethodPointcut cut = cuts.declaringClass(cuts.oneClass(Object.class));
assertTrue(cut.picks(equals));
assertTrue(cut.picks(hashCode));
assertTrue(cut.picks(toString));
assertFalse(cut.picks(isA));
assertFalse(cut.picks(setA));
}
public void testMembersOf() {
MethodPointcut cut = cuts.membersOf(Foo.class);