2 # This is automatically generated by author/import-moose-test.pl.
3 # DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4 use t::lib::MooseCompat;
10 $TODO = q{Mouse is not yet completed};
13 my @moose_exports = qw(
30 can_ok('Foo', $_) for @moose_exports;
39 ok(!Foo->can($_), '... Foo can no longer do ' . $_) for @moose_exports;
41 # and check the type constraints as well
43 my @moose_type_constraint_exports = qw(
44 type subtype as where message
53 eval 'use Mouse::Util::TypeConstraints';
57 can_ok('Bar', $_) for @moose_type_constraint_exports;
62 eval 'no Mouse::Util::TypeConstraints';
66 ok(!Bar->can($_), '... Bar can no longer do ' . $_) for @moose_type_constraint_exports;
73 use Scalar::Util qw( blessed );
78 can_ok( 'Baz', 'blessed' );