EnvironmentDriver implements Driver { @Override public boolean jdbcCompliant() { return true; } 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 testJdbcCompliant() throws Exception { assertTrue(DriverManager.getDriver("jdbc:environment:0").jdbcCompliant()); }