KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > dynaop > MixinInterceptorFactoryTest


1 package dynaop;
2
3 import junit.framework.TestCase;
4
5 /**
6  *
7  *
8  * @author Bob Lee (crazybob@crazybob.org)
9  */

10 public class MixinInterceptorFactoryTest extends TestCase {
11
12     public void testCreate() throws Throwable JavaDoc {
13         InterceptorFactory factory =
14             new Aspects.MixinInterceptorFactory(A.class, null);
15         Interceptor interceptor = factory.create(null);
16         assertNotNull(interceptor);
17     }
18     
19     public static class A {
20     }
21 }
22
Popular Tags