assertTrue(items.contains(11));
}
@Test
public void testUserIndex() {
IdIndexMapping ind = snap.userIndex();
assertEquals(6, ind.size());
assertTrue(ind.getIdList().contains(1));
assertTrue(ind.getIdList().contains(3));
assertTrue(ind.getIdList().contains(4));
assertTrue(ind.getIdList().contains(5));
assertTrue(ind.getIdList().contains(6));
assertTrue(ind.getIdList().contains(7));
assertEquals(0, ind.getIndex(1));
assertEquals(1, ind.getIndex(3));
assertEquals(2, ind.getIndex(4));
assertEquals(3, ind.getIndex(5));
assertEquals(4, ind.getIndex(6));
assertEquals(5, ind.getIndex(7));
assertEquals(1, ind.getId(0));
assertEquals(3, ind.getId(1));
assertEquals(4, ind.getId(2));
assertEquals(5, ind.getId(3));
assertEquals(6, ind.getId(4));
assertEquals(7, ind.getId(5));
}