def METHOD_NAME(self):
    server, thread, api = self._getMomServer()
    try:
        client = self._getMomClient()
        thread.start()
        self.assertEqual("active", client.getStatus())
    finally:
        self._stopMomServer(server, thread)