@Override
    public int getMajorVersion()
    {
        return DRIVER_VERSION_MAJOR;
    }
@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);
        }
    }