@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 testGetItemIds() {
    final Object entityId = container.addItem();
    assertNotNull(entityId);

    List<?> entityIds = container.getItemIds(0, 2);
    assertTrue(entityIds.size() == 2);

    entityIds = container.getItemIds(0, container.size());
    assertTrue(entityIds.contains(entityId));

    final boolean removed = container.removeItem(entityId);
    assertTrue(removed);
  }
 @Test(expected = UnsupportedOperationException.class)
 public final void testAddItemAtIntObject() {
   container.addItemAt(0, 1234);
 }
 @Test
 public final void testIndexOfId() {
   final Object entityId = container.firstItemId();
   assertNotNull(entityId);
   assertTrue(container.indexOfId(entityId) == 0);
 }