def METHOD_NAME():
    """Test the realizations are in ``dir`` of :mod:`astropy.cosmology`."""
    d = dir(cosmology)
    assert set(d) == set(cosmology.__all__)
    for n in parameters.available:
        assert n in d