@Test public void createForInitialization() { final String name = "name"; final String urlForInitialization = new HyperSqlJdbcUrlFactory() .connectionUrlForInitialization(name, Collections.emptyMap()); final String[] elements = urlForInitialization.split(";"); assertEquals(3, elements.length); assertEquals(HyperSqlJdbcUrlFactory.HSQLDB_MEM_URL + name, elements[0]); assertEquals("create=true", elements[1]); assertEquals("shutdown=true", elements[2]); }
@Override public String connectionUrlForInitialization(final String name, final Map<String, String> properties) { return connectionUrl(name, addCreateProperty(properties)); }
HyperSqlJdbcUrlFactory implements JdbcUrlFactory { @Override public String connectionUrlForInitialization(final String name, final Map<String, String> properties) { return connectionUrl(name, addCreateProperty(properties)); } }
HyperSqlJdbcUrlFactory implements JdbcUrlFactory { @Override public String connectionUrlForInitialization(final String name, final Map<String, String> properties) { return connectionUrl(name, addCreateProperty(properties)); }  }
HyperSqlJdbcUrlFactory implements JdbcUrlFactory { @Override public String connectionUrlForInitialization(final String name, final Map<String, String> properties) { return connectionUrl(name, addCreateProperty(properties)); }  @Override String connectionUrlForInitialization(final String name, final Map<String, String> properties); @Override String connectionUrl(final String name, final Map<String, String> properties); @Override Map<String, String> compatibilityModeParam(final CompatibilityMode compatibilityMode); }
HyperSqlJdbcUrlFactory implements JdbcUrlFactory { @Override public String connectionUrlForInitialization(final String name, final Map<String, String> properties) { return connectionUrl(name, addCreateProperty(properties)); }  @Override String connectionUrlForInitialization(final String name, final Map<String, String> properties); @Override String connectionUrl(final String name, final Map<String, String> properties); @Override Map<String, String> compatibilityModeParam(final CompatibilityMode compatibilityMode); static final String HSQLDB_MEM_URL; }