@Test
public void testBuildKeywordUri() throws Exception {

    final KeywordBean existingKeywordBean = getExistingKeywordBean();
    String allUri = AllThesaurus.buildKeywordUri(existingKeywordBean);
    final AllThesaurus.DecomposedAllUri decomposedAllUri = new AllThesaurus.DecomposedAllUri(allUri);
    assertEquals(existingKeywordBean.getThesaurusKey(), decomposedAllUri.thesaurusKey);
    assertEquals(existingKeywordBean.getUriCode(), decomposedAllUri.keywordUri);
}