def METHOD_NAME(self):
    loader = unittest.TestLoader()
    tests = [self]
    expectedPath = os.path.abspath(os.path.dirname(unittest.test.__file__))
    self.wasRun = False
    def _find_tests(start_dir, pattern):
        self.wasRun = True
        self.assertEqual(start_dir, expectedPath)
        return tests
    loader._find_tests = _find_tests
    suite = loader.discover('unittest.test')
    self.assertTrue(self.wasRun)
    self.assertEqual(suite._tests, tests)