4 use Test::More tests => 2;
7 'MooseX::AttributeHelpers' => 0.23, # skip all if not installed
15 use MooseX::ClassAttribute;
16 use MooseX::AttributeHelpers;
19 ( metaclass => 'Counter',
21 provides => { inc => 'inc_counter',
26 is( MyClass->counter(), 0 );
28 MyClass->inc_counter();
29 is( MyClass->counter(), 1 );