GridStarter { static void bridgeJulToSlf4j() { if (!SLF4JBridgeHandler.isInstalled()) { SLF4JBridgeHandler.removeHandlersForRootLogger(); SLF4JBridgeHandler.install(); } } private  GridStarter(String[] args); static void main(String[] args);  }
@Test public void shouldInstallSLF4JBridge() throws Exception { assertFalse(SLF4JBridgeHandler.isInstalled()); GridStarter.bridgeJulToSlf4j(); assertTrue(SLF4JBridgeHandler.isInstalled()); }