Test::M...:Verify(3)

πŸ“¦ version 0.11, in opensuse-leap 16.0

✨ NAME ✨

Welcome to Test::Magpie::Verify(3) from the User Contributed Perl Documentation shelf β€” the Test::Magpie spy-glass situation for looking into a mock’s invocation history so you can verify stuff. πŸ‘€πŸ’…

πŸ’– DESCRIPTION πŸ’–

Spy objects are how you peek inside a mock and verify that certain methods actually got called. You create these objects by using verify from Test::Magpie. ✨

Spy objects do not have a public API as such β€” they share the same method calls as the mock object itself. The difference is that a method call now checks whether that method was invoked on the mock at some point in time; if it wasn’t, it fails a test. 🚨

You may use argument matchers in verifying method calls. 🧚

🫢 AUTHORS 🫢

  • Oliver Charles β€” <oliver.g.charles@googlemail.com>
  • Steven Lee β€” <stevenwh.lee@gmail.com>

This software is copyright (c) 2013 by Oliver Charles.

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


Cute little sign-off, bestie: source/version perl v5.42.0, date 2020-11-24, manual Test::M...:Verify(3). πŸ’œπŸ¦‹

πŸ“¦ where this page comes from