public interface MultiConstraintAssertion
Modifier and Type | Method and Description |
---|---|
default void |
scores(Score<?> score)
Asserts that the
ConstraintProvider under test, given a set of facts, results in a specific Score . |
void |
scores(Score<?> score,
String message)
As defined by
scores(Score) . |
default void scores(Score<?> score)
ConstraintProvider
under test, given a set of facts, results in a specific Score
.score
- total score calculated for the given set of factsAssertionError
- when the expected score does not match the calculated scorevoid scores(Score<?> score, String message)
scores(Score)
.score
- total score calculated for the given set of factsmessage
- sometimes null, description of the scenario being assertedAssertionError
- when the expected score does not match the calculated scoreCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.