@Test
void testStream() {

    final Set<Predicate<Integer>> set = Stream.of(MOD2, MOD4, MOD8).collect(toSet());
    CombinedPredicate<Integer> p = CombinedPredicate.and(MOD2, MOD4);
    p = p.and(MOD8);
    assertTrue(p.stream().allMatch(set::contains));
}