Test::EasyMock::MockControl - Control behavior of the mock object.
Create a default control instance.
Create a instance.
Create a mock instance.
Process method invocation. Dispatch to replay or record method.
Replay the method invocation.
Record the method invocation.
Find the expectation by arguments.
Record the expectation of the mock method invocation.
Change to replay mode.
Clear expectations and change to record mode.
Verify the mock method invocations.
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.