6 use Test::More tests => 1;
8 use Moose::Meta::Class;
11 use lib 't/lib', 'lib';
14 # Note that this test passes if we inline the role definitions in this
15 # file, and it passes now that Class::MOP::load_class was changed to
16 # do eval "require $module" rather than loading the module by
17 # path. Perl is a strange beast.
20 my $builder_meta = Moose::Meta::Class->create(
22 superclass => 'Moose::Meta::Class',
23 roles => [qw( Role::Interface Role::Child )],
27 'Create a new class with several roles'