'The name of the wrapper function function returned by the decorator has
the same name as the decorated function.'

def test_name(self):

    application = self.Application(None, None)
    self.assertEqual('foo', application.foo.__name__)
