I am trying to mock out the authenticate method which is called by identity.login . Mocking it out works fine using the Install annotation with a precedence of Install.Mock.
However, I would like to test the real authenticate method in a unittest. I tried doing this numerous ways but I keep getting the following error
value of context variable is not an instance of the component bound to the context variable: authenticator
Is there any way to unmock an object for a specific unittest?