Open crookse opened 2 years ago
What:
Test double methods that can set up to return values should have arg expectations defined as well.
Why:
It's common to set up a method like "expect this method to take in this arg and return this value"
Below is a list of tasks that must be completed before this issue can be closed.
fake.method("blah").withArgs("hello").willReturn("world");
Summary
What:
Test double methods that can set up to return values should have arg expectations defined as well.
Why:
It's common to set up a method like "expect this method to take in this arg and return this value"
Acceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
Example Pseudo Code (for implementation)