def METHOD_NAME(
    self, pyramid_config, view, media_type_for_version
):
    api_config.add_api_view(
        pyramid_config, view, versions=["v1"], route_name="thing.read"
    )
    (_, kwargs) = pyramid_config.add_view.call_args_list[1]
    media_type_for_version.assert_called_once_with("v1", subtype="json")
    assert kwargs["accept"] == media_type_for_version.return_value