Connection connection = cf.createConnection();
   public void testSetClientID() throws Exception   {      try      {         connection.setClientID("something");         fail("This should have failed");      }      catch(IllegalStateException e)      {         // OK      }   }