mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[DS-8419] JavaDoc on Matcher
This commit is contained in:
@@ -63,6 +63,14 @@ public class WorkflowDefinitionMatcher {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verifies that the content of the `json` matches
|
||||
* the detail of the steps
|
||||
* Actually we can checks only the identifier to assure they are the same.
|
||||
*
|
||||
* @param step target step of the workflow
|
||||
* @return Matcher
|
||||
*/
|
||||
public static Matcher<? super Object> matchStep(Step step) {
|
||||
return allOf(
|
||||
hasJsonPath("$.id", is(step.getId()))
|
||||
|
Reference in New Issue
Block a user