def METHOD_NAME(self):
    """Test sending a pause and then a play message."""
    controller = get_manager().get_process_controller()
    async def do_pause_play():
        calc_node = self.runner.submit(test_processes.WaitProcess)
        assert not calc_node.paused
        while calc_node.process_state != ProcessState.WAITING:
            await asyncio.sleep(0.1)
        pause_message = 'Take a seat'
        pause_future = controller.pause_process(calc_node.pk, msg=pause_message)
        future = await with_timeout(asyncio.wrap_future(pause_future))
        result = await self.wait_future(asyncio.wrap_future(future))
        assert calc_node.paused
        assert calc_node.process_status == pause_message
        play_future = controller.play_process(calc_node.pk)
        future = await with_timeout(asyncio.wrap_future(play_future))
        result = await self.wait_future(asyncio.wrap_future(future))
        assert result
        assert not calc_node.paused
        assert calc_node.process_status is None
        kill_message = 'Sorry, you have to go mate'
        kill_future = controller.kill_process(calc_node.pk, msg=kill_message)
        future = await with_timeout(asyncio.wrap_future(kill_future))
        result = await self.wait_future(asyncio.wrap_future(future))
        assert result
    self.runner.loop.run_until_complete(do_pause_play())