'Check L{twisted.application.service.Application} instantiation.'

def test_applicationComponents(self):

    app = Application('app-name')
    self.assertTrue(verifyObject(IService, IService(app)))
    self.assertTrue(verifyObject(IServiceCollection, IServiceCollection(app)))
    self.assertTrue(verifyObject(IProcess, IProcess(app)))
    self.assertTrue(verifyObject(IPersistable, IPersistable(app)))
