def METHOD_NAME():
    links = complete_links(MockResource())
    response = links(mock_stop_schedules)()
    assert "notes" in response
    assert "exceptions" in response
    assert len(response["exceptions"]) == 2
    assert len(response["notes"]) == 1
    for item in response["notes"][0].keys():
        assert item in ["category", "type", "id", "value", "comment_type"]
    for exception in response["exceptions"]:
        for item in exception.keys():
            assert item in ["date", "type", "id"]
    assert len(response["stop_schedules"]) == 1
    stop_schedules = response["stop_schedules"]
    assert len(stop_schedules[0]["date_times"]) == 2
    assert len(stop_schedules[0]["date_times"][0]["links"]) == 2
    assert len(stop_schedules[0]["date_times"][1]["links"]) == 2
    for dt in stop_schedules[0]["date_times"]:
        for link in dt["links"]:
            items = link.keys()
            for key in items:
                assert key in ["category", "internal", "rel", "type", "id"]