PropertyDriver implements Driver { public int getMinorVersion() { return 0; } PropertyDriver(); Connection connect(String url, Properties info); boolean acceptsURL(String url); DriverPropertyInfo[] getPropertyInfo(String url, Properties info); int getMajorVersion(); int getMinorVersion(); boolean jdbcCompliant(); Logger getParentLogger();  }
@Test void testGetMinorVersion() throws Exception { assertEquals(0, DriverManager.getDriver("jdbc:property:0").getMinorVersion()); }