@Test
public void testGetInstancesOfTypeUntil_whenPredicateAlwaysFalse_noResultsAreReturned() throws Exception {

    Assertions.assertEquals(ImmutableList.of(), Types.getInstancesOfTypeUntil(Lists.newArrayList(1, 2, 3), Integer.class, n -> false));
}