def METHOD_NAME(
    self,
    query: str,
    raw_args: Optional[Dict[str, str]],
    expected_args: Dict[str, str],
) -> None:
    """Test parse."""
    value = f"{query}::{raw_args}"
    result_query, result_args = LookupHandler.parse(value if raw_args else query)
    assert result_query == query
    assert result_args == expected_args