ConnectionFactory cf =
cf =
   public void setUp() throws Exception   {      super.setUp();      ServerManagement.startInVMServer();      initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment());      ConnectionFactory cf =            (ConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory");      connection = cf.createConnection();   }