Test::Mock::Signature::Meta - meta class. Used as a signature container.
Create meta container module:
my $meta = Test::Mock::Signature::Meta->new( class => 'My::Real::Class', method => 'do_something', params => [ 1, 2, 3 ] );
Module for storing meta information of the signature. Used internally to iterate between meta clases in Test::Mock::Signature::Dispatcher.
Takes 3 paramters (as a key value pairs).
Name of the real class which we are mocking.
Name of the mocked method.
Array reference of the parameters.
Set callback for the given meta information if $code_ref is given or return callback if not.
$code_ref
Getter for the params.
cono <cono@cpan.org>
Copyright 2014 - cono
Artistic v2.0
Test::Mock::Signature
To install Test::Mock::Signature, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Mock::Signature
CPAN shell
perl -MCPAN -e shell install Test::Mock::Signature
For more information on module installation, please visit the detailed CPAN module installation guide.