def test_applicationRunnerGetsCorrectApplication(self):
        arunner = CrippledApplicationRunner(self.config)
        arunner.run()

        self.assertIdentical(
            self.serviceMaker.options, self.config.subOptions,
            "ServiceMaker.makeService needs to be passed the correct "
            "sub Command object.")
        self.assertIdentical(
            self.serviceMaker.service,
            service.IService(arunner.application).services[0],
            "ServiceMaker.makeService's result needs to be set as a child "
            "of the Application.")
Ensure that a twistd plugin gets used in appropriate ways: it
dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/ApplicationRunnerTests.test_applicationRunnerGetsCorrectApplication