code: def _match_call(self, call: Any) -> Any:
      if self._strict:
          if self._ncalls == len(self._exp_calls):
              raise ValueError(f"unexpected call to TokenStore: {call}")
          if self._exp_calls[self._ncalls] != call:
              raise ValueError(
                  f"mismstached call to TokenStore: expected {self._exp_calls[self._ncalls]} "
                  f"but got {call}"
              )
          retval = self._retvals[self._ncalls]
          self._ncalls += 1
          return retval
      else:
          try:
              idx = self._exp_calls.index(call)
          except ValueError:
              raise ValueError(
                  f"call to TokenStore has no match: {call}"
              )
          return self._retvals[idx]
  
imports: import contextlib
  import os
  from typing import Any, Iterator, List, Optional, cast
  import responses
  from responses import registries
  import determined
  from determined.common.api import authentication
label_desc: Use image node_id 5 for calling the MockTokenStore obj's underlying member method code with example usage: obj._match_call(call) and returns: retval, self