def METHOD_NAME(patch_base_class, requests_mock):
    stream = LinnworksStream()
    requests_mock.get(
        "https://dummy",
        json={
            "Foo": "foo",
            "Bar": {
                "Baz": "baz",
            },
        },
    )
    resp = requests.get("https://dummy")
    inputs = {"response": resp}
    expected_parsed_object = {"Bar": {"Baz": "baz"}, "Foo": "foo"}
    assert next(stream.parse_response(**inputs)) == expected_parsed_object