code: def calledThrice(cls, spy): #pylint: disable=invalid-name
          
          cls.__is_spy(spy)
          if not (spy.calledThrice):
              raise cls.failException(cls.message)
docs: Checking the inspector is called thrice
          Args: SinonSpy