def METHOD_NAME(
    self, pyramid_request, value, family, class_, application_instance
):
    pyramid_request.content_type = "application/json"
    pyramid_request.json = {"lms": {"product": value}}
    product = get_product_from_request(pyramid_request)
    class_.from_request.assert_called_once_with(
        pyramid_request, application_instance.settings
    )
    assert product == class_.from_request.return_value
    assert product.family == family