async def METHOD_NAME(
    self, prefect_client: PrefectClient, mock_runner_start
):
    await run_sync_in_worker_thread(
        invoke_and_assert,
        command=[
            "flow",
            "serve",
            "flows/hello_world.py:hello",
            "--name",
            "test",
            "--rrule",
            "FREQ=MINUTELY;COUNT=5",
        ],
        expected_code=0,
    )
    deployment = await prefect_client.read_deployment_by_name(name="hello/test")
    assert deployment.schedule.rrule == "FREQ=MINUTELY;COUNT=5"