* @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly@jboss.com</a>
*/
public class IntroductionsConfigParserUnitTest extends TestCase {
public void test() throws ConfigurationException {
JaxbIntros config = IntroductionsConfigParser.parseConfig(getClass().getResourceAsStream("intro-config-01.xml"));
assertEquals("http://jbossesb.x.jboss.org", config.getDefaultNamespace());
assertEquals(2, config.getClazz().size());
ClassIntroConfig classIntroConfig = config.getClazz().get(0);
assertEquals(TestBean1.class.getName(), classIntroConfig.getName());
assertEquals("http://jbossesb.y.jboss.org", classIntroConfig.getXmlType().getNamespace());
assertEquals(1, classIntroConfig.getMethod().size());
// Could add more tests here but we're OK for now... JAXB seems to be working fine and