@Test public final void testGetIdByIndex() { final Object entityId = container.getIdByIndex(0); assertNotNull(entityId); final Object firstId = container.firstItemId(); assertNotNull(firstId); assertTrue(entityId.equals(firstId)); }
@Test public final void testIndexOfId() { final Object entityId = container.firstItemId(); assertNotNull(entityId); assertTrue(container.indexOfId(entityId) == 0); }