def METHOD_NAME(processor, test_trace, span_kind, peer_service_config):
    processor._set_defaults_enabled = True
    span = test_trace[0]
    span.set_tag(SPAN_KIND, span_kind)
    span.set_tag(peer_service_config.tag_name, "fake_peer_service")
    span.set_tag("out.host", "fake_falue")  # Should not show up
    processor.process_trace(test_trace)
    assert span.get_tag(peer_service_config.tag_name) == "fake_peer_service"
    assert span.get_tag(peer_service_config.source_tag_name) == "peer.service"