@Override
    public boolean accept(Object object) {
        return factToCheck.stream()
                .allMatch(factCheckerHandle ->
                                  factCheckerHandle.getClazz().isAssignableFrom(object.getClass()) &&
                                          factCheckerHandle.getCheckFuction().apply(object).isValid());
    }
@Test
    public void acceptWithFailure() {
        ConditionFilter conditionFilterFail = createConditionFilter(object -> ValueWrapper.errorWithValidValue(null, null));
        
        assertThat(conditionFilterFail.accept("String")).isFalse();
    }