The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Double::Mock::Expectation - Mock expectation object

METHODS

with(@args)

Assigns expected callee arguments.

returns($expected_value_or_subref)

Assigns expected returning value or subroutine reference.

verify

Verify this expectation.

AUTHOR

NAKAGAWA Masaki <masaki@cpan.org>

LICENSE

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

SEE ALSO

Test::Double, Test::Double::Mock