@Test
public void testResumeCommandNeedsBusinessKey() throws Exception {

    final ResetRetriesCommand command = new ResetRetriesCommand(newMockProcessEngine());
    command.setOut(out);
    CommandSession commandSession = mock(CommandSession.class);
    command.execute(commandSession);
    out.flush();
    assertThat(outputStream.toString()).containsIgnoringCase("please supply a business key");
}