@Test
public void testFirstIndexOfNulls() {

  assertAll(
      () -> assertThrows(NullPointerException.class, () -> ListUtils.firstIndexOf(null, x -> true)),
      () -> assertThrows(NullPointerException.class, () -> ListUtils.firstIndexOf(new ArrayList<>(), null))
  );
}