OracleDatabaseType implements DatabaseType { @Override public OracleDataSourceMetaData getDataSourceMetaData(final String url, final String username) { return new OracleDataSourceMetaData(url, username); }  @Override String getName(); @Override Collection<String> getJdbcUrlPrefixes(); @Override OracleDataSourceMetaData getDataSourceMetaData(final String url, final String username);  }
@Test public void assertOracleDataSourceMetaData() { assertThat(new OracleDatabaseType().getDataSourceMetaData("jdbc:oracle:oci:@127.0.0.1/ds_0", "scott"), instanceOf(OracleDataSourceMetaData.class)); }