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;
9 use Test::Builder::Tester;
13 use_ok('Test::Mouse');
20 has 'foo', is => 'bare';
29 has 'bar', is => 'bare';
33 test_out('ok 1 - ... has_attribute_ok(Foo, foo) passes');
35 has_attribute_ok('Foo', 'foo', '... has_attribute_ok(Foo, foo) passes');
37 test_out ('not ok 2 - ... has_attribute_ok(Foo, bar) fails');
40 has_attribute_ok('Foo', 'bar', '... has_attribute_ok(Foo, bar) fails');
42 test_out('ok 3 - ... has_attribute_ok(Bar, foo) passes');
44 has_attribute_ok('Bar', 'foo', '... has_attribute_ok(Bar, foo) passes');
46 test_out('ok 4 - ... has_attribute_ok(Bar, bar) passes');
48 has_attribute_ok('Bar', 'bar', '... has_attribute_ok(Bar, bar) passes');
50 test_test ('has_attribute_ok');