assertCorrectKeywords(results);
}
private void assertCorrectKeywords(List<KeywordBean> results) {
assertEquals(keywords, results.size());
KeywordBean keywordBean = results.get(0);
assertTrue(keywordBean.getUriCode().endsWith("#0"));
assertEquals(createExampleLabel(0,"eng"), keywordBean.getValues().get("eng"));
assertEquals(createExampleNote(0,"ger"), keywordBean.getDefinitions().get("ger"));
assertEquals(4, keywordBean.getValues().size());
assertEquals("0", keywordBean.getCoordEast());
assertEquals("10", keywordBean.getCoordWest());
assertEquals("5", keywordBean.getCoordSouth());
assertEquals("15", keywordBean.getCoordNorth());
KeywordBean keywordBean2 = results.get(1);
assertTrue(keywordBean2.getUriCode().endsWith("#1"));
assertEquals(createExampleLabel(1,"eng"), keywordBean2.getValues().get("eng"));
assertEquals(createExampleNote(1,"ger"), keywordBean2.getDefinitions().get("ger"));
assertEquals(4, keywordBean2.getValues().size());
assertEquals("", keywordBean2.getCoordEast());
assertEquals("", keywordBean2.getCoordWest());
assertEquals("", keywordBean2.getCoordSouth());
assertEquals("", keywordBean2.getCoordNorth());
}