public boolean validateNextUriSource()
            throws SQLException
    {
        return VALIDATE_NEXTURI_SOURCE.getValue(properties).orElse(false);
    }
@Test
    public void testValidateNextUriSource()
            throws SQLException
    {
        PrestoDriverUri defaultParams = createDriverUri("presto://localhost:8080/blackhole");
        assertFalse(defaultParams.validateNextUriSource());
        assertEquals(defaultParams.getProperties().getProperty(VALIDATE_NEXTURI_SOURCE.getKey()), "false");

        PrestoDriverUri parameters = createDriverUri("presto://localhost:8080/blackhole?validateNextUriSource=true");
        assertTrue(parameters.validateNextUriSource());
        assertEquals(parameters.getProperties().getProperty(VALIDATE_NEXTURI_SOURCE.getKey()), "true");

        assertInvalid("presto://localhost:8080/blackhole?validateNextUriSource=ANOTHERVALUE", "Connection property 'validateNextUriSource' value is invalid: ANOTHERVALUE");
    }