def METHOD_NAME(self, seed):
    _alternatives = ["7", "7.10", "7.11.2", "7.2", "5", "6", "main"]
    random.seed(seed)
    alternatives = _alternatives.copy()
    random.shuffle(alternatives)
    assert versions.latest_bounded_minor(alternatives, versions.VersionVariants("7.6.3")) == 2
    assert versions.latest_bounded_minor(alternatives, versions.VersionVariants("7.12.3")) == 10,\
        "Nearest alternative with major.minor, skip alternatives with major.minor.patch"
    assert versions.latest_bounded_minor(alternatives, versions.VersionVariants("7.11.2")) == 10,\
        "Skips all alternatives with major.minor.patch, even if exact match"
    assert versions.latest_bounded_minor(alternatives, versions.VersionVariants("7.1.0")) is None,\
        "No matching alternative with minor version"