The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Eve::RegistryStub - a helper class that replaces the registry with a mock object.

SYNOPSIS

    package SomeTestCase;

    use Eve::RegistryStub;
    use Eve::Registry;

    my $already_mocked_registry = Eve::Registry->new(
        # some literals declarations);

    my $service = $registry->get_service();

DESCRIPTION

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..

METHODS

main()

SEE ALSO

Eve::Test
Test::Class

LICENSE AND COPYRIGHT

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.

AUTHOR

Sergey Konoplev
Igor Zinovyev