MsSql extends DatabaseClient { static MsSqlBuilder jtdsBuilder() { return (MsSqlBuilder)new MsSqlBuilder() .setDriverClassName("net.sourceforge.jtds.jdbc.Driver") .setUrl("jdbc:jtds:sqlserver: .setRootUrl("jdbc:jtds:sqlserver: .setRootLogin("sa") .setRootPassword(""); } private  MsSql(Builder builder); @Override String getDialect(); @Override String[] getDropDdl(); @Override String[] getCreateDdl(); @Override String getSelectConnectionIdsSql(); @Override String getKillConnectionSql(String processID);  }
@Test public void rootUrlShouldEqualUrl() { DatabaseClient mssql = MsSql.jtdsBuilder().setUrl("jdbc:jtds:sqlserver: assertThat(mssql.getUrl()).isEqualTo("jdbc:jtds:sqlserver: assertThat(mssql.getRootUrl()).isEqualTo(mssql.getUrl()); }