4 use Test::More tests => 2;
9 use MooseX::ClassAttribute;
10 use MooseX::AttributeHelpers;
13 ( metaclass => 'Counter',
15 provides => { inc => 'inc_counter',
20 is( MyClass->counter(), 0 );
22 MyClass->inc_counter();
23 is( MyClass->counter(), 1 );