public final class BiPredicateAssertions extends Object implements Assertions
Assertions
implementation that evaluates a list of
BiPredicate
lambdas.Modifier and Type | Class and Description |
---|---|
static class |
BiPredicateAssertions.Builder |
Constructor and Description |
---|
BiPredicateAssertions() |
Modifier and Type | Method and Description |
---|---|
static BiPredicateAssertions.Builder |
builder()
Gets a builder for a new instance.
|
boolean |
test(Claims claims,
Clock clock)
Applies these assertions to the given claims.
|
public static BiPredicateAssertions.Builder builder()
public boolean test(Claims claims, Clock clock)
Assertions
test
in interface Assertions
claims
- the claims to testclock
- reference clock for assertions on time valuesCopyright © 2019. All rights reserved.