@Test
 public void toIntListEntity() throws ParseException {
   Integer id0 = Integer.valueOf(0);
   Integer id1 = Integer.valueOf(1);
   Entity entity0 = when(mock(Entity.class).getIdValue()).thenReturn(id0).getMock();
   Entity entity1 = when(mock(Entity.class).getIdValue()).thenReturn(id1).getMock();
   assertEquals(DataConverter.toIntList(Arrays.asList(entity0, entity1)), Arrays.asList(id0, id1));
 }
 @Test
 public void toIntListInteger() throws ParseException {
   Integer id0 = Integer.valueOf(0);
   Integer id1 = Integer.valueOf(1);
   assertEquals(DataConverter.toIntList(Arrays.asList(id0, id1)), Arrays.asList(id0, id1));
 }