@Test
public void testFilterByClass_shouldFilterArrayByInteger() throws Exception {

    List<Object> example = Arrays.asList(new Object(), 1, 2, 3, "sadf");
    Collection<Integer> filtered =
        CollectionUtilsExtended.filterCollectionByClass(example, Integer.class);
    assertThat(filtered, hasItems(1, 2, 3));
}