@Test
public void testRemoveElementKeywordBean() throws Exception {

    KeywordBean keyword = QueryBuilder.keywordQueryBuilder(isoLangMapper, "eng").limit(1).build().execute(thesaurus).get(0);
    Where idMatches = Wheres.ID(keyword.getUriCode());
    Query<KeywordBean> query = QueryBuilder.keywordQueryBuilder(isoLangMapper, "eng").where(idMatches).build();
    assertEquals(1, query.execute(thesaurus).size());
    thesaurus.removeElement(keyword);
    assertEquals(0, query.execute(thesaurus).size());
}