def METHOD_NAME(self, model_version, docker_image):
    model_version._fetch_with_no_cache()
    expected_msg = RegistryService_pb2.ModelVersion()
    expected_msg.MergeFrom(model_version._msg)
    expected_msg.MergeFrom(docker_image._as_model_ver_proto())
    docker_image._merge_into_model_ver_proto(model_version._msg)
    assert model_version._msg == expected_msg