1 22 package org.jboss.test.aop.regression.jbaop197; 23 24 import org.jboss.test.aop.AOPTestWithSetup; 25 26 31 public class OwnConstructorTestCase extends AOPTestWithSetup 32 { 33 34 public static void main(String [] args) 35 { 36 junit.textui.TestRunner.run(OwnConstructorTestCase.class); 37 } 38 39 43 public OwnConstructorTestCase(String arg0) 44 { 45 super(arg0); 46 } 47 48 public void testInstrumentOwnConstructor() throws Exception  49 { 50 TestInterceptor.intercepted = false; 51 Singleton singleton = Singleton.getSingleton(); 52 assertTrue(TestInterceptor.intercepted); 53 } 54 } 55 | Popular Tags |