TestListener () { // com.intellij.InternalTestDiscoveryListener final String discoveryListener = System.getProperty("test.discovery.listener"); if (discoveryListener != null) { try { return (TestListener)Class.forName(discoveryListener).newInstance(); } catch (Throwable e) { return null; } } return null; }