topic = (Topic)initialContext.lookup("/topic/Topic"); drainDestination(cf, queue);
topic = (Topic)initialContext.lookup("/topic/Topic");
   public void setUp() throws Exception   {      super.setUp();      ServerManagement.start("all");      initialContext = new InitialContext(ServerManagement.getJNDIEnvironment());      cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory");            ServerManagement.undeployQueue("Queue");      ServerManagement.deployQueue("Queue");      ServerManagement.undeployTopic("Topic");      ServerManagement.deployTopic("Topic");      queue = (Destination)initialContext.lookup("/queue/Queue");       topic = (Topic)initialContext.lookup("/topic/Topic");      drainDestination(cf, queue);      log.debug("setup done");   }