def METHOD_NAME(self, outfile):
    """Atoms should all be named 'X'"""
    u = make_Universe(trajectory=True)
    wmsg = "does not have atom elements or names"
    with pytest.warns(UserWarning, match=wmsg):
        w = XYZWriter(outfile)
        w.write(u)
        w.close()
    u2 = mda.Universe(outfile)
    assert all(u2.atoms.names == 'X')