6 use Test::More tests => 11;
14 traits => ['Counter'],
21 reset_counter => 'reset',
26 my $page = MyHomePage->new();
27 isa_ok( $page, 'MyHomePage' );
29 can_ok( $page, $_ ) for qw[
37 $page->meta->remove_attribute('counter');
39 '... removed the counter attribute okay';
41 ok( !$page->meta->has_attribute('counter'),
42 '... no longer has the attribute' );
44 ok( !$page->can($_), "... our class no longer has the $_ method" ) for qw[