'If the FSM is shutdown after connection but before status update is
received then it disconnects but does not notify the agent
operation FSM.'

def test_shutdown_after_connect(self):

    client = connected_amp_protocol()
    self.fsm.receive(_ConnectedToControlService(client=client))
    self.fsm.receive(ClusterStatusInputs.SHUTDOWN)
    self.assertEqual((client.transport.disconnecting, self.convergence_loop.inputted), (True, []))
