def METHOD_NAME(testing_metadata):
    name = testing_metadata.name()
    output_dict = {"name": name}
    testing_metadata.meta["outputs"] = [output_dict]
    fm = testing_metadata.get_output_metadata(output_dict)
    testing_metadata.other_outputs = {
        (name, HashableDict(testing_metadata.config.variant)): (output_dict, fm)
    }
    pin = jinja_context.pin_subpackage(testing_metadata, name, exact=True)
    assert len(pin.split()) == 3