def METHOD_NAME(
    inference_request: InferenceRequest,
    expected: Any,
):
    decoded = decode_inference_request(inference_request)
    if isinstance(expected, pd.DataFrame):
        pd.testing.assert_frame_equal(decoded, expected)
    else:
        assert decoded == expected