public void testRemoveAdviceAtRuntime() {
m_logString = "";
removeAdviceTestMethod();
assertEquals("before1 before2 invocation after2 after1 ", m_logString);
MethodMetaDataImpl methodMetaData = new MethodMetaDataImpl();
methodMetaData.setName("removeAdviceTestMethod");
methodMetaData.setParameterTypes(new String[]{});
methodMetaData.setReturnType("void");
methodMetaData.setExceptionTypes(new String[]{});
Pointcut methodPointcut = (Pointcut)SystemLoader.getSystem("tests").
getAspectManager().
getPointcutManager(ASPECT_NAME).
getExecutionPointcuts(m_classMetaData, methodMetaData).get(0);