class Fun {

    public static <T> Predicate<T>
    testOrDefault1(final @NotNull ThrowingPredicate<? super T> mayThrowOnTest, boolean defaultValue) {
        return compose1(result1(mayThrowOnTest::tryTest), result -> result.getOrDefault(defaultValue))::apply;
    }

    private  Fun();

}