def METHOD_NAME(gds: GraphDataScience) -> None:
    cached_server_version = gds._server_version
    server_version_string = gds.version()
    server_version_match = re.search(r"^(\d+)\.(\d+)\.(\d+)", server_version_string)
    assert server_version_match
    server_version = server_version_match.groups()
    assert cached_server_version.major == int(server_version[0])
    assert cached_server_version.minor == int(server_version[1])
    assert cached_server_version.patch == int(server_version[2])