Test::Mock::MongoDB::Cursor - mock module for MongoDB::Cursor class.
You can get test mock object like so:
use Test::Mock::MongoDB qw( any ); my $mock = Test::Mock::MongoDB->new; my $m_cursor = $mock->get_cursor;
Current module mocks MongoDB::Cursor class.
No methods defined at the moment.
cono <cono@cpan.org>
Copyright 2014 - cono
Artistic v2.0
Test::Mock::MongoDB
To install Test::Mock::MongoDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Mock::MongoDB
CPAN shell
perl -MCPAN -e shell install Test::Mock::MongoDB
For more information on module installation, please visit the detailed CPAN module installation guide.