public class XmlAopConfigrationTest {
@Test
public void testGetMirror() throws ParserConfigurationException, SAXException, IOException {
DefaultMirrorFactory mirrorFactory = new DefaultMirrorFactory(null);
mirrorFactory.setAopConfigration(new XmlAopConfigration("org/nutz/ioc/aop/config/impl/xmlfile-aop.xml"));
assertNotNull(mirrorFactory.getMirror(XmlAopConfigration.class, null));
assertNotNull(mirrorFactory.getMirror(DefaultMirrorFactory.class, null));
assertNotNull(mirrorFactory.getMirror(NutDao.class, null));
assertNotNull(mirrorFactory.getMirror(NutIoc.class, null));
}