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;
19 use Mouse -traits => 'NoOpTrait';
32 is(Child->meta->name, 'Child', "correct metaclass name");
34 my $child = Child->new(attr => "ibute");
35 ok($child, "constructor works");
37 is($child->attr, "ibute", "getter inherited properly");
39 $child->attr("ition");
40 is($child->attr, "ition", "setter inherited properly");