use strict;
use warnings;
-use Test::More tests => 169;
+use Test::More tests => 171;
use Test::Exception;
BEGIN {
has_method get_method add_method remove_method alias_method
get_method_list compute_all_applicable_methods
- find_all_methods_by_name find_next_method_by_name
+ find_method_by_name find_all_methods_by_name find_next_method_by_name
add_before_method_modifier add_after_method_modifier add_around_method_modifier
'... Class::MOP::Class %:attributes\'s a init_arg is :attributes');
ok($class_mop_class_meta->get_attribute('%:attributes')->has_default, '... Class::MOP::Class %:attributes has a default');
-is_deeply($class_mop_class_meta->get_attribute('%:attributes')->default,
+is_deeply($class_mop_class_meta->get_attribute('%:attributes')->default('Foo'),
{},
'... Class::MOP::Class %:attributes\'s a default of {}');