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;
10 $TODO = q{Mouse is not yet completed};
18 traits => ['Counter'],
25 reset_counter => 'reset',
30 my $page = MyHomePage->new();
31 isa_ok( $page, 'MyHomePage' );
33 can_ok( $page, $_ ) for qw[
41 $page->meta->remove_attribute('counter');
43 '... removed the counter attribute okay';
45 ok( !$page->meta->has_attribute('counter'),
46 '... no longer has the attribute' );
48 ok( !$page->can($_), "... our class no longer has the $_ method" ) for qw[