Use a stub when you want to: Control a method's behavior from a test to force the code down a specific path. Examples include forcing a method to throw an error ...
確定! 回上一頁