def METHOD_NAME(
    state: Mock,
    ocm1_state: dict[str, Any],
    ocm2_state: dict[str, Any],
    low_version: str,
    high_version: str,
) -> None:
    version_data = cvd.get_version_data(state, "prod/org-1-id")
    version_data_ocm2 = cvd.get_version_data(state, "prod/org-2-id")
    version_data.aggregate(version_data_ocm2, "prod/org-2-id")
    assert set(version_data.versions.keys()) == {low_version, high_version}
    v1_workloads = version_data.versions[low_version].workloads
    # unkwown workloads are not aggregated
    assert "workload3" not in v1_workloads
    # nothing to aggregate
    assert v1_workloads["workload2"] == get_data(ocm1_state, low_version, "workload2")
    # aggregation of LOW_VERSION/workload1
    ocm1_v1_w1 = get_data(ocm1_state, low_version, "workload1")
    ocm2_v1_w1 = get_data(ocm2_state, low_version, "workload1")
    assert v1_workloads["workload1"] == {
        "soak_days": ocm1_v1_w1["soak_days"] + ocm2_v1_w1["soak_days"],
        "reporting": ocm1_v1_w1["reporting"]
        + [f"prod/org-2-id/{r}" for r in ocm2_v1_w1["reporting"]],
    }
    v2_workloads = version_data.versions[high_version].workloads
    aggregated = get_data(ocm2_state, high_version, "workload1")
    aggregated["reporting"] = [f"prod/org-2-id/{r}" for r in aggregated["reporting"]]
    # new version HIGH_VERSION for workload1 aggregated
    assert v2_workloads == {"workload1": aggregated}
    assert version_data.stats is not None
    assert version_data.stats.inherited == version_data_ocm2.stats