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

NAME

Test::MockObject::Universal - a truly universal mock object

SYNOPSIS

        my $Dummy = Test::MockObject::Universal::->new();
        $Dummy->can('whatever you want');

DESCRIPTION

This class provides a very simple mock object that does not inherit from Test::MockObject.

The goal of this module is to be as simple and fast as possible.

If you want more functionality you should probably look at Test::MockObject.

NAME

Test::MockObject::Universal - A universal MockObject

METHODS

isa

Always returns true.

can

Always returns true.

AUTOLOAD

AUTOLOAD is provided to always return a empty list.

new

Constructor. Takes no arguments.

AUTHOR

Dominik Schulz <dominik.schulz@gauner.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Dominik Schulz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.