def METHOD_NAME(cubes, caplog):
    fix = AllVars(
        vardef=None,
        extra_facets={
            'domain': 'EUR-11',
            'dataset': 'DATASET',
            'driver': 'DRIVER'
            }
        )
    for cube in cubes:
        cube.coord_system = iris.coord_systems.LambertConformal
    fix.fix_metadata(cubes)
    msg = ("Support for CORDEX datasets in a Lambert Conformal "
           "coordinate system is ongoing. Certain preprocessor "
           "functions may fail.")
    assert msg in caplog.text