def METHOD_NAME(self, rf, parse, parser_context):
    parser_context["request"] = rf.patch("/")
    data = {
        "data": {
            "type": "BasicModel",
        },
    }
    with pytest.raises(ParseError) as excinfo:
        parse(data, parser_context)
    assert "The resource identifier object must contain an 'id' member" == str(
        excinfo.value
    )