public void pauseMessageProcessing() {
        pauseMessageProcessing(true);
    }
@Test
    public void testPauseMessageProcessing() throws Exception {
        status.pauseMessageProcessing();

        assertEquals(Lifecycle.PAUSED, status.getLifecycle());
        assertTrue(status.processingPauseLocked());
    }