class Fun {

    public static <T, P> Predicate<T>
    composeTest1(final @NotNull Function<? super T, ? extends P> inputFunction,
                 final @NotNull Predicate<? super P> testResult) {
        return input -> testResult.test(inputFunction.apply(input));
    }

    private  Fun();

}