def test_fire_after_service_stop(self):
        async = Deferred()
        result = main_for_service(self.reactor, AsyncStopService(async))
        self._shutdown_reactor(self.reactor)
        async.callback(None)
        self.assertIs(None, self.successResultOf(result))
The ``Deferred`` returned by ``main_for_service`` fires once the
dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/test/test_script.py/MainForServiceTests.test_fire_after_service_stop