package org.jdbchub;

import org.junit.Test;

import java.sql.SQLException;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

public class JdbcHubDriverTest {

    @Test
    public void testAcceptsURL() throws SQLException {
        JdbcHubDriver driver = new JdbcHubDriver();
        assertTrue(driver.acceptsURL("jdbc:jdbchub:props"));
        assertFalse(driver.acceptsURL("jdbc:postgresql:props"));
    }

}
@@ -196,22 +196,16 @@
  %7B%0A%0A
-    
+%09
 @Test%0A
-    
+%09
 publ
@@ -251,24 +251,18 @@
 ption %7B%0A
-        
+%09%09
 JdbcHubD
@@ -297,24 +297,18 @@
 iver();%0A
-        
+%09%09
 assertTr
@@ -356,16 +356,10 @@
 ));%0A
-        
+%09%09
 asse
@@ -415,12 +415,69 @@
 ));%0A
-    
+%09%7D%0A%0A%09@Test%0A%09public void testConnect() %7B%0A%09%09// TODO implement%0A%09
 %7D%0A%0A%7D

add todo