oops. i forgot to commit this method
[gitmo/Moose.git] / t / 030_roles / 032_roles_alias_methods.t
CommitLineData
43f8ff1f 1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
6use Test::More tests => 2;
7use Test::Exception;
8use Moose::Meta::Class;
9use Moose::Util;
10
11use lib 't/lib', 'lib';
12
13use Role::Child;
14
43f8ff1f 15
0fe33940 16is_deeply(
17 [ sort Role::Parent->meta->get_method_list ],
18 [qw( meth1 meth2 )],
19 'method list for Role::Parent'
20);
21is_deeply(
22 [ sort Role::Child->meta->get_method_list ],
23 [qw( aliased_meth1 meth1 meth2 )],
24 'method list for Role::Child'
25);