def METHOD_NAME(caplog, coffee_layout_dir, identity_transducer):
    expected_sizes = ["tall", "grande", "venti"]
    valid_manager = ParadigmManagerWithExplicitSizes(
        coffee_layout_dir, identity_transducer, ordered_sizes=expected_sizes
    )
    assert valid_manager.all_sizes_fully_specified()
    # Make an invalid size specification by removing any size from the valid list
    missing_a_size = expected_sizes.copy()
    unexpected_size = missing_a_size.pop()
    invalid_manager = ParadigmManagerWithExplicitSizes(
        coffee_layout_dir, identity_transducer, ordered_sizes=missing_a_size
    )
    with caplog.at_level(logging.ERROR):
        assert invalid_manager.all_sizes_fully_specified() is False
    matching_log = first(rec for rec in caplog.records if "size" in rec.message)
    assert unexpected_size in matching_log.message