You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to simply assert the behavior of a predicate without evaluating it first
Example
// given some PredicatePredicate<String> startsWithA = s -> s.startsWith("a");
// instead ofassertThat(startsWithA.test("abc")).isTrue();
// I want to writeassertThat(startsWithA).isTrueFor("abc");
Java 8 specific ?
YES : create Pull Request from the master branch
Remark: looks like a minor change and I would be happy tp provide the PR. Just let me know what you think (or if this is already possible somehow and I missed it).
The text was updated successfully, but these errors were encountered:
Summary
I want to simply assert the behavior of a predicate without evaluating it first
Example
Java 8 specific ?
master
branchRemark: looks like a minor change and I would be happy tp provide the PR. Just let me know what you think (or if this is already possible somehow and I missed it).
The text was updated successfully, but these errors were encountered: