def METHOD_NAME(self, xml_text, expected_results):
    results_reader = results.ResultsReader(BytesIO(xml_text.encode('utf-8')))
    actual_results = [x for x in results_reader]
    self.assertEqual(expected_results, actual_results)