public void testNotAccept() throws Exception {
Driver driver = new PhoenixDriver();
assertFalse(driver.acceptsURL("jdbc:phoenix://localhost"));
assertFalse(driver.acceptsURL("jdbc:phoenix:localhost;test=true;bar=foo"));
assertFalse(driver.acceptsURL("jdbc:phoenix:localhost;test=true"));
assertTrue(driver.acceptsURL("jdbc:phoenix:localhost:123"));
assertTrue(driver.acceptsURL("jdbc:phoenix:localhost:123;untest=true"));
assertTrue(driver.acceptsURL("jdbc:phoenix:localhost:123;untest=true;foo=bar"));
DriverManager.deregisterDriver(driver);
}
}