use strict;
use warnings;
-use Test::More tests => 38;
+use Test::More tests => 43;
use Test::Exception;
BEGIN {
}
{
+ my $attr = Class::MOP::Attribute->new('$test');
+ is($attr->meta, Class::MOP::Attribute->meta, '... instance and class both lead to the same meta');
+}
+
+{
my $meta = Class::MOP::Attribute->meta();
isa_ok($meta, 'Class::MOP::Class');
my @methods = qw(
meta
new clone
+
+ initialize_instance_slot
+
name
has_accessor accessor
has_writer writer
process_accessors
install_accessors
remove_accessors
+
+ slot_name
+ allocate_slots
+ deallocate_slots
);
is_deeply(
# but that is getting a little excessive so I
# wont worry about it for now. Maybe if I get
# bored I will do it.
-}
\ No newline at end of file
+}