Mouse::Util::does_role() respects $thing->does() method
[gitmo/Mouse.git] / t / 100_bugs / 026_create_anon_recursion.t
1 use strict;
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;
5 use warnings;
6
7 use Test::More;
8 use Test::Exception;
9
10 use Mouse::Meta::Class;
11
12 {
13     my $meta;
14     lives_ok {
15         $meta = Mouse::Meta::Class->create_anon_class(
16             superclasses => [ 'Mouse::Object', ],
17         );
18     }
19     'Class is created successfully';
20 }
21
22 done_testing;