docs: public static synchronized UTEHelper getHelperInstance()
     throws java.lang.IllegalStateException
    {
      
      if (tcInt.isEntryEnabled()) SibTr.entry(tcInt, "getHelperInstance");
      
      // ************** CHECK TO SEE IF IT IS ENABLED *******************
      try
      {      
        // Initialise the test env flag from a system property if it has been set.
        String prop = System.getProperty("com.ibm.ws.sib.api.testenv");
  
        // Check that the text reads "enabled".      
        if ((prop != null) && ("enabled".equals(prop.toLowerCase())))
        {
          if (tcInt.isDebugEnabled())
            SibTr.debug(tcInt, "TestEnv flag enabled by system property.");
          UTEHelperFactory.jmsTestEnvironmentEnabled = true;
      
        } else
        {
          if (tcInt.isDebugEnabled())
             SibTr.debug(tcInt, "testenv system property was present but did not enable testenv - "+prop);
        }//if
    
      } catch(SecurityException sce)
      {
        // No FFDC code needed
        if (tcInt.isDebugEnabled())
          SibTr.debug(tcInt, "Could not read system property due to SecurityException", sce);
      
      }//try
      
      
      // d250397 IGH it is valid to use a UTEHelper with UTE disabled
      // when running unit tests in remote client mode (see JMSTestCase)
      // so don't throw an exception here
  /*
      if (!UTEHelperFactory.jmsTestEnvironmentEnabled) 
      {
        // NB. This is for unit test only and so need not be NLS'd.
        throw new java.lang.IllegalStateException("JMS Test Environment is not enabled.");
        
      }//if
  */    
  
      if (instance == null)
      {
        try
        {
          instance = (UTEHelper)Class.forName(
           "com.ibm.ws.sib.api.jms.impl.ute.UTEHelperImpl").newInstance();
        } catch (Exception e)
        {
          // No FFDC code needed
          if (tcInt.isDebugEnabled())
            SibTr.debug(tcInt, "Couldn't find impl class", e);
            
          RuntimeException f = new java.lang.IllegalStateException("UTEHelperFactory.getHelperInstance()");
          f.initCause(e);
          
          if (tcInt.isEntryEnabled()) SibTr.exit(tcInt, "getHelperInstance");
          throw f;
        }
      }
      
      if (tcInt.isEntryEnabled()) SibTr.exit(tcInt, "getHelperInstance");
      return instance;
      
    }