NAME

Test::MethodFixtures::Storage - Base class for storage of data for methods mocked with Test::MethodFixtures

SYNOPSIS

Subclasses should implement the following interface:

    $storage->store(
        {   method => 'My::Module::mocked_method',
            key    => ...,
            input  => ...,
            output => ...,

            # optional:
            'Test::MethodFixtures' => $version,
            'My::Storage::Class' => $storage_version,

        }
    );

    # should die if nothing stored for that key
    my $stored = $storage->retrieve(
        {   method => 'My::Module::mocked_method',
            key    => ...,
        }
    );

DESCRIPTION

Base class for storage objects for Test::MethodFixtures

METHODS

The following methods should be implemented by any subclass.

store

retrieve