Interface MultiConstraintAssertion
- All Known Implementing Classes:
DefaultMultiConstraintAssertion
public interface MultiConstraintAssertion
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidAsserts that theConstraintProviderunder test, given a set of facts, results in a specificScore.voidAs defined byscores(Score).
-
Method Details
-
scores
Asserts that theConstraintProviderunder 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
-