|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.test.saga.RepositoryContentValidator
public class RepositoryContentValidator
Helper class for the validation of Saga Repository content.
Method Summary | |
---|---|
void |
assertActiveSagas(int expected)
Asserts that the repsitory contains the given expected amount of active sagas. |
void |
assertAssociationPresent(String associationKey,
String associationValue)
Asserts that an association is present for the given associationKey and
associationValue . |
void |
assertNoAssociationPresent(String associationKey,
String associationValue)
Asserts that no association is present for the given associationKey and
associationValue . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void assertAssociationPresent(String associationKey, String associationValue)
associationKey
and
associationValue
.
associationKey
- The key of the associationassociationValue
- The value of the associationpublic void assertNoAssociationPresent(String associationKey, String associationValue)
associationKey
and
associationValue
.
associationKey
- The key of the associationassociationValue
- The value of the associationpublic void assertActiveSagas(int expected)
expected
amount of active sagas.
expected
- The number of expected sagas.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |