### Question:
PrestoDriver implements Driver, Closeable { @Override public int getMajorVersion() { return DRIVER_VERSION_MAJOR; }  @Override void close(); @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();  }### Answer:
@Test public void testGetDriverVersion() throws Exception { Driver driver = DriverManager.getDriver("jdbc:presto:"); assertEquals(driver.getMajorVersion(), 0); assertEquals(driver.getMajorVersion(), 0); try (Connection connection = createConnection()) { DatabaseMetaData metaData = connection.getMetaData(); assertEquals(metaData.getDriverName(), PrestoDriver.DRIVER_NAME); assertEquals(metaData.getDriverVersion(), "unknown"); assertEquals(metaData.getDriverMajorVersion(), 0); assertEquals(metaData.getDriverMinorVersion(), 0); } }