1 package dynaop; 2 3 import junit.framework.TestCase; 4 5 10 public class MixinInterceptorFactoryTest extends TestCase { 11 12 public void testCreate() throws Throwable { 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 |