def METHOD_NAME(response, expected_output):
    metadata_raw_response = RawResponseMock(*response)
    metadata_response = HttpModelMetadataResponse(metadata_raw_response)
    output = metadata_response.to_dict()
    assert (output == expected_output)