PURPOSE

Test the following types from Types::Standard which were inspired by MooX::Types::MooseLike::Base.

InstanceOf
ConsumerOf
HasMethods
Enum

Rather than checking they work directly, we check they are equivalent to known (and well-tested) type constraints generated using Type::Utils.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2013-2014, 2017-2025 by Toby Inkster.

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