more-method-refactoring
[gitmo/Class-MOP.git] / t / 005_attributes.t
index 63158f1..73bda5b 100644 (file)
@@ -54,7 +54,7 @@ my $BAR_ATTR_2 = Class::MOP::Attribute->new('$bar');
     ::is($meta->get_attribute('$bar'), $BAR_ATTR, '... got the right attribute back for Bar');
 
     ::ok($meta->has_method('bar'), '... an accessor has been created');
-    ::isa_ok($meta->get_method('bar'), 'Class::MOP::Attribute::Accessor');      
+    ::isa_ok($meta->get_method('bar'), 'Class::MOP::Method::Accessor');      
 }
 {
     package Baz;
@@ -70,8 +70,8 @@ my $BAR_ATTR_2 = Class::MOP::Attribute->new('$bar');
     ::ok($meta->has_method('get_baz'), '... a reader has been created');
     ::ok($meta->has_method('set_baz'), '... a writer has been created');
 
-    ::isa_ok($meta->get_method('get_baz'), 'Class::MOP::Attribute::Accessor');
-    ::isa_ok($meta->get_method('set_baz'), 'Class::MOP::Attribute::Accessor');
+    ::isa_ok($meta->get_method('get_baz'), 'Class::MOP::Method::Accessor');
+    ::isa_ok($meta->get_method('set_baz'), 'Class::MOP::Method::Accessor');
 }
 
 {