def METHOD_NAME(self, expected: List[str]) -> None:
    """
    Helper function to compare results with expected outcome
    :param expected: expected result
    """
    with open(self.dest_file_name, 'r') as file:
        for e in expected:
            actual = file.readline().rstrip('\r\n')
            self.assertDictEqual(json.loads(e), json.loads(actual))
        self.assertFalse(file.readline())