code: def tearDownClass(cls) -> None:
      cls.mockServerContainer.stop()
      if cls.mockServerContainer.state.running is False:
          logging.info("Mock server terminated successfully")
      cls.mockServerContainer.remove()
      return super().tearDownClass()
  
imports: import json
  import logging
  import os
  import sys
  import time
  import unittest
  import requests
  from mockserver_friendly import MockServerFriendlyClient, json_equals, request, response, times
  from python_on_whales import docker
  from MONAILabelReviewerLib.MonaiServerREST import MonaiServerREST
label_desc: Use image node_id 2 for calling the MonaiServerRESTTest obj's underlying member method code with example usage: obj.tearDownClass(cls) and returns: super