def METHOD_NAME(self):
    trafo = SubstitutionTransformation({"Fe": "Mn"})
    self.trans.append_transformation(trafo)
    assert self.trans.final_structure.composition.reduced_formula == "NaMnPO4"
    assert len(self.trans.structures) == 3
    coords = []
    coords.append([0, 0, 0])
    coords.append([0.75, 0.5, 0.75])
    lattice = [
        [3.8401979337, 0, 0],
        [1.9200989668, 3.3257101909, 0],
        [0, -2.2171384943, 3.1355090603],
    ]
    struct = Structure(lattice, ["Si4+", "Si4+"], coords)
    ts = TransformedStructure(struct, [])
    ts.append_transformation(SupercellTransformation.from_scaling_factors(2, 1, 1))
    alt = ts.append_transformation(
        PartialRemoveSpecieTransformation("Si4+", 0.5, algo=PartialRemoveSpecieTransformation.ALGO_COMPLETE), 5
    )
    assert len(alt) == 2