super.setUp(); ServerManagement.startInVMServer(); initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory");  ServerManagement.deployTopic("Topic"); topic = (Destination)initialContext.lookup("/messaging/topics/Topic");
super.setUp(); ServerManagement.startInVMServer(); initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory");  ServerManagement.deployQueue("Queue"); queue = (Destination)initialContext.lookup("/messaging/queues/Queue");
   public void setUp() throws Exception   {      super.setUp();      ServerManagement.startInVMServer();      initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment());      cf =            (JBossConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory");            ServerManagement.deployTopic("Topic");      topic = (Destination)initialContext.lookup("/messaging/topics/Topic");         }