def METHOD_NAME(self):
    # create the TracedCache instance for a Flask app
    Cache = get_traced_cache(self.tracer, service=self.SERVICE)
    app = Flask(__name__)
    config = {
        "CACHE_TYPE": "memcached",
        "CACHE_MEMCACHED_SERVERS": ["localhost:2230"],
    }
    cache = Cache(app, config=config)
    # use a wrong memcached connection
    try:
        cache.get(u"á_complex_operation")
    except Exception:
        pass
    # ensure that the error is not caused by our tracer
    spans = self.pop_spans()
    assert len(spans) == 1
    span = spans[0]
    assert span.service == self.SERVICE
    assert span.resource == "get"
    assert span.name == "flask_cache.cmd"
    assert span.span_type == "cache"
    assert span.get_tag(CACHE_BACKEND) == "memcached"
    assert span.get_tag(net.TARGET_HOST) == "localhost"
    assert span.get_tag("component") == "flask_cache"
    assert span.get_metric("network.destination.port") == 2230
    # the pylibmc backend raises an exception and memcached backend does
    # not, so don't test anything about the status.