Eve::RegistryStub - a helper class that replaces the registry with a mock object.
package SomeTestCase; use Eve::RegistryStub; use Eve::Registry; my $already_mocked_registry = Eve::Registry->new( # some literals declarations); my $service = $registry->get_service();
Eve::RegistryStub is the mock version of a Eve::Registry class that contains all services and automatically replaces some input parameter with bogus default values..
Copyright 2010-2013 Sergey Konoplev, Igor Zinovyev.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Eve, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Eve
CPAN shell
perl -MCPAN -e shell install Eve
For more information on module installation, please visit the detailed CPAN module installation guide.