Test methods for using Virtual Mock Objects |
Method Name | Summary |
---|---|
addReturnValue | Change "Method's Return Value" |
setReturnValueAt | |
setReturnValueAtAllTimes | |
addReturnNull | |
setReturnNullAt | |
setReturnNullAtAllTimes | |
getArgument | Get "Arguments" at method called |
getCallCount | Get "Counts" of Method call |
assertArgumentPassed | Check "Method is called" and "argument" |
assertCalled | Check "Method is called" |
assertNotCalled | Check "Method is NOT called" |
Samples of Test Methods with "HelloWorld" |