def METHOD_NAME(project_with_runs):
    """Test listing plans."""
    plans = Plan.list()
    assert {"plan-1", "plan-2"} == {p.name for p in plans}
    assert isinstance(plans[0], Plan)
    assert isinstance(plans[1], Plan)