|
FAQ
Frequently Asked Question.
Featured Frequently Asked QuestionsQuestion: Do I need to create exact values to describe the scenarios for testing? Answer: jSupervisor allows you to specify at different levels of detail. The scenario specification function just needs to have the parameter types and return types. For example, instead of using a func("ABC"), you can use func(new String()). jSupervisor only need to have the correct parameter type for its internal dynamic proxy to find intercept the decorated method. You can then use the Specifier.expecting() to relax the matching criteria. |