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;
24 ::ok(!$@, '... created the attr okay');
28 my $foo = Foo->new( foo => "bar" );
31 is( $foo->foo, undef, "field is not set via init arg" );
35 is( $foo->foo, "blah", "field is set via setter" );