@Test
public void Should_pauseMessageProcessingAfterPauseCommand()
        throws Exception {

    Should_startDebugging();
    assertEquals(false, c("isPaused", null));
    assertEquals(true, c("isRunning", null));
    assertEquals(true, c("pause", null));
    assertEquals(false, c("isPaused", null));
    assertEquals(true, c("isRunning", null));
    session.handleInterrupt(messageProcessorMock);
    verify(messageProcessorMock).pauseProcess();
    reset(messageProcessorMock);
    assertEquals(true, c("isPaused", null));
    assertEquals(false, c("isRunning", null));
    assertEquals("OK", c("continue", null));
    assertEquals(false, c("isPaused", null));
    assertEquals(true, c("isRunning", null));
}