@Test
@Deployment(resources = {"diagrams/test-bpm-1.bpmn20.xml", "diagrams/test-bpm-2.bpmn20.xml",

    "diagrams/test-bpm-3.bpmn20.xml"})
public void testListCommand() throws Exception {
    ListActivitiCommand command = new ListActivitiCommand();
    command.setProcessEngine(getProcessEngine());
    command.setOut(getOut());
    command.setErr(getErr());
    command.doExecute();
    assertThat(collectStdOutput())
        .contains("[diagrams/test-bpm-2.bpmn20.xml]")
        .contains("[diagrams/test-bpm-3.bpmn20.xml]")
        .contains("[diagrams/test-bpm-1.bpmn20.xml]")
        .contains("[ListActivitiCommandTest.testListCommand]");
}