def METHOD_NAME(mocked_run, mock_server, backend_interface):
    with backend_interface() as interface:
        for i in range(100):
            interface.publish_output("stdout", "\rSome recurring line")
        interface.publish_output("stdout", "\rFinal line baby\n")
    print("DUDE!", mock_server.ctx)
    stream = utils.first_filestream(mock_server.ctx)
    assert "Final line baby" in stream["files"]["output.log"]["content"][0]