@Test public void testGetMajorVersion() { if (driver.getMajorVersion() >= 0) { fail("getMajorVersion"); } }
@Override public int getMajorVersion() { return -1; }
JdbcDriver implements Driver { @Override public int getMajorVersion() { return -1; } }
JdbcDriver implements Driver { @Override public int getMajorVersion() { return -1; }  }
JdbcDriver implements Driver { @Override public int getMajorVersion() { return -1; }  @Override Connection connect(String url, Properties info); @Override boolean acceptsURL(String url); @Override int getMajorVersion(); @Override int getMinorVersion(); @Override DriverPropertyInfo[] getPropertyInfo(String url, Properties info); @Override boolean jdbcCompliant(); @Override String toString(); @Override Logger getParentLogger(); }
JdbcDriver implements Driver { @Override public int getMajorVersion() { return -1; }  @Override Connection connect(String url, Properties info); @Override boolean acceptsURL(String url); @Override int getMajorVersion(); @Override int getMinorVersion(); @Override DriverPropertyInfo[] getPropertyInfo(String url, Properties info); @Override boolean jdbcCompliant(); @Override String toString(); @Override Logger getParentLogger();  }