Test::EasyMock::Expectation - A expected behavior object.
Create a instance.
Add a method result behavior.
Set a method result behavior as stub.
Remove results which flagged with 'implicit'.
Retrieve a result value.
It is tested whether it has a result.
It is tested whether it has a stub result.
It is tested whether the specified argument matches.
The call to expect tests whether it was called briefly.
The message showing a lacking call is acquired.
To install Test::EasyMock, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::EasyMock
CPAN shell
perl -MCPAN -e shell install Test::EasyMock
For more information on module installation, please visit the detailed CPAN module installation guide.