@Test
public void shouldResolvePrimaryKey() throws Exception {

    final Table table = createTable();
    final PrimaryKey pk = table.setPrimaryKey(getTransaction(), "pk");
    final KomodoObject kobject = new ObjectImpl(_repo, pk.getAbsolutePath(), pk.getIndex());
    assertThat(this.wsMgr.resolve(getTransaction(), kobject, PrimaryKey.class), is(instanceOf(PrimaryKey.class)));
}