@Override
    public boolean accept(Object object) {
        return factToCheck.stream()
                .allMatch(factCheckerHandle ->
                                  factCheckerHandle.getClazz().isAssignableFrom(object.getClass()) &&
                                          factCheckerHandle.getCheckFuction().apply(object).isValid());
    }
@Test
    public void accept() {
        ConditionFilter conditionFilter = createConditionFilter(ValueWrapper::of);

        assertThat(conditionFilter.accept(1)).isFalse();
        assertThat(conditionFilter.accept("String")).isTrue();
    }