/** @throws Exception */ @BeforeClass public static void setUpBeforeClass() throws Exception { try { String methodName = Utility.getMethodName(); LoggingUtilities.banner(log, cclass, methodName); serverURI = TestProperties.getServerURI(); clientFactory = new MqttClientFactoryPaho(); clientFactory.open(); } catch (Exception exception) { log.log(Level.SEVERE, "caught exception:", exception); throw exception; } }