@Test
public void testFilter() throws Exception {

    Collection<Integer> data = Arrays.asList(1, 2, 3, 4, 5);
    Collection<Integer> evenData = TransformUtils.filter(data, item -> item % 2 == 0);
    assertEquals(2, evenData.size());
    assertTrue(evenData.contains(2));
    assertTrue(evenData.contains(4));
}