def METHOD_NAME(composite_test_map):
    with pytest.raises(ValueError) as excinfo:
        sunpy.map.CompositeMap(23, composite=True)
    assert str(excinfo.value) == 'CompositeMap expects pre-constructed map objects.'