def METHOD_NAME(self, combined_system, molecule_name):
    with pytest.raises(
        ValueError,
        match=f"The molecule type {molecule_name} is already present in this system.",
    ):
        combined_system.add_molecule_type(
            combined_system.molecule_types[molecule_name],
            1,
        )