def METHOD_NAME(self, json_schema: Mapping[str, Any], pyarrow_schema: Mapping[str, Any]) -> None:
    # Json -> PyArrow direction
    if pyarrow_schema is not None:
        assert AbstractFileParser.json_schema_to_pyarrow_schema(json_schema) == pyarrow_schema
    else:
        with pytest.raises(Exception) as e_info:
            AbstractFileParser.json_schema_to_pyarrow_schema(json_schema)
            LOGGER.debug(str(e_info))