public void testAdviceTag() {
try {
AspectWerkzDefinition aspectwerkz = (AspectWerkzDefinition)XmlParser.parseNoCache(m_input.toURL()).get(0);
Iterator it = aspectwerkz.getAdviceDefinitions().iterator();
AdviceDefinition advice1 = (AdviceDefinition)it.next();
assertEquals("logging", advice1.getName());
assertEquals("examples.logging.LoggingAdvice", advice1.getAdviceClassName());
assertEquals("perClass", advice1.getDeploymentModel());
assertEquals("log", advice1.getAttribute());
}
catch (Exception e) {
fail();
}
}