8 use Test::More tests => 1;
10 my $autodoc = MooseX::AutoDoc->new;
11 my $spec = $autodoc->_package_info("AutoDocTest::Role::Role1");
14 name => 'AutoDocTest::Role::Role1',
16 methods => [{ name => 'role_1'}],
19 name => 'role_1_attr',
21 description => 'Optional read-write value'
26 is_deeply($spec, $target);