Interface MultiConstraintAssertion
- All Known Implementing Classes:
DefaultMultiConstraintAssertion
public interface MultiConstraintAssertion
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Asserts that theConstraintProvider
under test, given a set of facts, results in a specificScore
.void
As defined byscores(Score)
.
-
Method Details
-
scores
Asserts that theConstraintProvider
under test, given a set of facts, results in a specificScore
.- Parameters:
score
- total score calculated for the given set of facts- Throws:
AssertionError
- when the expected score does not match the calculated score
-
scores
As defined byscores(Score)
.- Parameters:
score
- total score calculated for the given set of factsmessage
- sometimes null, description of the scenario being asserted- Throws:
AssertionError
- when the expected score does not match the calculated score
-