6 use Test::More no_plan => 1;
9 use_ok('MooseX::AttributeHelpers');
17 metaclass => 'Counter',
28 my $page = MyHomePage->new();
29 isa_ok($page, 'MyHomePage');
31 is($page->counter, 0, '... got the default value');
34 is($page->counter, 1, '... got the incremented value');
37 is($page->counter, 2, '... got the incremented value (again)');
40 is($page->counter, 1, '... got the decremented value');