'Stopping the service stops the reconnecting TCP client and inputs
shutdown event to the cluster status FSM.'

def test_stop_service(self):

    service = self.service
    service.cluster_status = fsm = StubFSM()
    service.startService()
    service.stopService()
    self.assertEqual((service.reconnecting_factory.continueTrying, fsm.inputted, service.running), (False, [ClusterStatusInputs.SHUTDOWN], False))
