'Test that throttle works when wrapping a method.'

def test_throttle_on_method(self):

    class Tester(object, ):
        'A    tester    class    for    the    throttle.'
        def hello(self):
            'Test    the    throttle.'
            return True
    tester = Tester()
    throttled = util.Throttle(timedelta(seconds=1))(tester.hello)
    self.assertTrue(throttled())
    self.assertIsNone(throttled())
