def METHOD_NAME(self, small_ts_fixture):
    with tsinfer.SampleData() as sample_data:
        for var in small_ts_fixture.variants():
            sample_data.add_site(var.site.position, genotypes=var.genotypes)
        sample_data.record_provenance("test", arg1=1, arg2=2)
    self.validate_file(sample_data)