8 use Test::More tests => 1;
10 my $autodoc = MooseX::AutoDoc->new;
11 my $spec = $autodoc->_package_info("AutoDocTest::Role::Role3");
14 name => 'AutoDocTest::Role::Role3',
16 {name => 'AutoDocTest::Role::Role1',},
17 {name => 'AutoDocTest::Role::Role2',}
19 methods => [{ name => 'role_3'}],
22 name => 'role_3_attr',
24 description => 'Optional read-write value'
29 is_deeply($spec, $target);