def METHOD_NAME(self):
    results = self.do_profiling()
    expected = self.get_expected_output()
    self.assertEqual(results[0], 1000)
    for i, method in enumerate(self.methodnames):
        if results[i+1] != expected[method]:
            print("Stats.%s output for %s doesn't fit expectation!" %
                  (method, self.profilerclass.__name__))
            print('\n'.join(unified_diff(
                              results[i+1].split('\n'),
                              expected[method].split('\n'))))