Package dynaop

Examples of dynaop.ClassPointcut


    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));
    }
View Full Code Here

TOP

Related Classes of dynaop.ClassPointcut

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.