EnvironmentDriver implements Driver { @Override public Logger getParentLogger() throws SQLFeatureNotSupportedException { return Logger.getLogger(EnvironmentDriver.class.getName()); } EnvironmentDriver(); @Override Connection connect(String url, Properties info); @Override boolean acceptsURL(String url); @Override DriverPropertyInfo[] getPropertyInfo(String url, Properties info); @Override int getMajorVersion(); @Override int getMinorVersion(); @Override boolean jdbcCompliant(); @Override Logger getParentLogger();  }
@Test void testGetParentLogger() throws Exception { assertNotNull(DriverManager.getDriver("jdbc:environment:0").getParentLogger()); }