TableMetaDataAdapter implements ITableMetaData { @Override public Column[] getPrimaryKeys() throws DataSetException { return new Column[0]; } TableMetaDataAdapter(final TableType tableType); @Override String getTableName(); @Override Column[] getColumns(); @Override Column[] getPrimaryKeys(); @Override int getColumnIndex(final String columnName);  }
@Test public void testGetPrimaryKeys() throws DataSetException { assertThat(tableMetaData.getPrimaryKeys().length, is(0)); }