assertEquals(null, mref3.getLink());
assertEquals("queue/A", mref3.getJndiName());
assertEquals("queue/A", mref3.getMappedName());
assertEquals(2, jbossWeb.getMessageDestinations().size());
MessageDestinationMetaData msgdest1 = jbossWeb.getMessageDestination("TestQueue");
assertEquals("msgdest1", msgdest1.getId());
assertEquals("A TestQueue destination", msgdest1.getDescriptionGroup().getDescription());
assertEquals("TestQueue", msgdest1.getMessageDestinationName());
assertEquals("queue/testQueue", msgdest1.getJndiName());
assertEquals("queue/testQueue", msgdest1.getMappedName());
MessageDestinationMetaData msgdest2 = jbossWeb.getMessageDestination("TestTopic");
assertEquals("msgdest2", msgdest2.getId());
assertEquals("A TestTopic destination", msgdest2.getDescriptionGroup().getDescription());
assertEquals("TestTopic", msgdest2.getMessageDestinationName());
assertEquals("topic/testTopic", msgdest2.getJndiName());
assertEquals("topic/testTopic", msgdest2.getMappedName());
// servlets
assertEquals(30, jbossWeb.getServlets().size());
JBossServletMetaData servlet1 = jbossWeb.getServletByName("APIServlet");
assertNotNull(servlet1);