public final class ConstraintProviderAssertion<Solution_> extends AbstractAssertion<Solution_,ConstraintProviderAssertion<Solution_>,ConstraintProviderVerifier<Solution_>>
| Modifier and Type | Method and Description |
|---|---|
void |
scores(Score<?> score)
As defined by
scores(Score, String) with a null message. |
void |
scores(Score<?> score,
String message)
Asserts that the
ConstraintProvider under test, given a set of facts, results in a specific Score. |
getParentConstraintVerifierpublic final void scores(Score<?> score, String message)
ConstraintProvider under test, given a set of facts, results in a specific Score.score - total score calculated for the given set of factsmessage - optional description of the scenario being assertedAssertionError - when the expected score does not match the calculated scorepublic final void scores(Score<?> score)
scores(Score, String) with a null message.Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.