docs: def teardown(self):
          '''
          Clean up all expectations and restore the original attribute of the
          mocked object.
          '''
          if not self._torn:
              self._expectations = []
              self._torn = True
              self._teardown()