7 use Moose::Util qw/does_role/;
9 use Test::More tests => 4;
13 # Naughty, should make an app instance.
14 my $controller = DynamicAppDemo->controller('One');
17 isa_ok $controller, 'DynamicAppDemo::ControllerBase';
18 ok does_role($controller, 'DynamicAppDemo::ControllerRole');
19 ok ! $controller->action_for('get_reflected_action_methods'),
20 'not leaking actions';