public void testPicks() {
mockDelegate.expects(once()).method("picks").with(eq(String.class)).will(returnValue(false));
mockDelegate.expects(once()).method("picks").with(eq(Integer.class)).will(returnValue(true));
ClassPointcut pointcut = new DynaopClassPointcut((ClassPointcut) mockDelegate.proxy());
assertFalse(pointcut.picks(String.class));
assertTrue(pointcut.picks(Integer.class));
}