Package DE_EPAGES::Test::Mock::Mockify::MethodCallCounter
encapsulate the Call Counter for Mockify
Functions
addMethod
add the Method '$MethodName' to the counter
Syntax |
addMethod( $MethodName ); |
Input |
|
getAmountOfCalls
returns the amount of calls for the method '$MethodName' throws error if the method was not added to Mockify
Syntax |
getAmountOfCalls( $MethodName ); |
Input |
|
Return |
|
increment
increment the the counter for the Method '$MethodName'
Syntax |
increment( $MethodName ); |
Input |
|
new
constructor
Syntax |
new( ); |
Return |
|