*/
public abstract class ClassMetaDataLoaderTest extends AOPMicrocontainerTest
{
public void testMetaData() throws Exception
{
POJO pojo = (POJO)getBean("Bean");
assertNotNull(pojo);
assertTrue(TestClassMetaDataAspect.invoked);
assertEquals("Ccustom1", TestClassMetaDataAspect.last);
TestClassMetaDataAspect.invoked = false;
TestClassMetaDataAspect.last = null;
pojo.method(2);
assertTrue(TestClassMetaDataAspect.invoked);
assertEquals("Mcustom1", TestClassMetaDataAspect.last);
TestClassMetaDataAspect.invoked = false;
TestClassMetaDataAspect.last = null;
pojo.method();
assertTrue(TestClassMetaDataAspect.invoked);
assertEquals("Mcustom1", TestClassMetaDataAspect.last);
}