Moved mock state from MockFactory to MockInvocationHandler