stop using Moo as a test package
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Model / Generating.pm
CommitLineData
5d02e790 1package TestApp::Model::Generating;
2use Moose;
3extends 'Catalyst::Model';
4
5sub BUILD {
6 Class::MOP::Class->create(
7 'TestApp::Model::Generated' => (
8 methods => {
9 foo => sub { 'foo' }
10 }
11 )
12 );
13}
14
15sub expand_modules {
16 return ('TestApp::Model::Generated');
17}
18
19__PACKAGE__->meta->make_immutable;
20no Moose;
21
221;