use strict;
use warnings;
use Test::More tests => 4;
-use Mouse::Util ':test';
+use Test::Exception;
do {
package Class;
# We want this attr to have a reader and writer with unconventional names,
# and not the default rw_attr method. -- rjbs, 2008-12-04
has 'rw_attr' => (
+ is => 'rw',
reader => 'read_attr',
writer => 'write_attr',
- );;
+ );
};
my $object = Class->new;