def METHOD_NAME(submit_and_await):
    """Test :func:`aiida.engine.processes.control.play_processes`."""
    node = submit_and_await(WaitProcess, ProcessState.WAITING)
    assert not node.paused
    control.pause_processes([node], wait=True)
    assert node.paused
    control.play_processes([node], wait=True)
    assert not node.paused