Interface MultiConstraintAssertion
- 
- All Known Implementing Classes:
- DefaultMultiConstraintAssertion
 
 public interface MultiConstraintAssertion
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidscores(Score<?> score)Asserts that theConstraintProviderunder test, given a set of facts, results in a specificScore.voidscores(Score<?> score, String message)As defined byscores(Score).
 
- 
- 
- 
Method Detail- 
scoresdefault void scores(Score<?> score) 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
 
 - 
scoresvoid scores(Score<?> score, String message) As defined byscores(Score).- Parameters:
- score- total score calculated for the given set of facts
- message- sometimes null, description of the scenario being asserted
- Throws:
- AssertionError- when the expected score does not match the calculated score
 
 
- 
 
-