def METHOD_NAME():
    result = minimal_keys_in_dictionary(
        {"key1": {"key2": "value1"}}, {"key1": "value1"}
    )
    assert not result["valid"]
    assert result["error_message"] == "missing data under 'key1'"