def METHOD_NAME(
    self, caplog: LogCaptureFixture, mocker: MockerFixture
) -> None:
    """Test legacy_parse."""
    query = "foo"
    caplog.set_level(LogLevels.WARNING, MODULE)
    deconstruct = mocker.patch(f"{MODULE}.deconstruct", return_value="success")
    assert OutputLookup.legacy_parse(query) == (deconstruct.return_value, {})
    deconstruct.assert_called_once_with(query)
    assert f"${{output {query}}}: {OutputLookup.DEPRECATION_MSG}" in caplog.messages