@Test
public void testGetInstancesOfTypeUntil_whenGivenAnEmptyCollection_noResultsAreReturned() throws Exception {

    Assertions.assertEquals(ImmutableList.of(), Types.getInstancesOfTypeUntil(Lists.newArrayList(), Object.class, n -> true));
}