-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mock internal calls of a another class methods #156
Comments
@PoojaNaik01, set a breakpoint inside the |
Not reaching the breakpoint.
…Sent from my iPhone
On 21-Mar-2020, at 10:09 PM, Jon Reid ***@***.***> wrote:
@PoojaNaik01, set a breakpoint inside the willDo block. Is it reached?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This is a lot to ask, but could you share a minimal project with me that demonstrates the problem? Then I can explore on my machine with the debugger. |
Closing for lack of activity. Please reopen if you are still interested. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am facing issues mocking calls of another class from a class which i am unit testing.
When the method2 is called from Class1, the call doesn't reach to mockCalls to return desired object.
Code to unit test Class1:
Can you please help @jonreid ?
The text was updated successfully, but these errors were encountered: