projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fd9ad15aa2a6dd61d94017efe8909d0d8b1c1a49
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestAppCustomContainer
/
Role
/
HoldsFoo.pm
1
package TestAppCustomContainer::Role::HoldsFoo;
2
use Moose::Role;
3
use Test::More;
4
use namespace::autoclean;
5
6
has foo => (
7
is => 'ro',
8
# isa => 'TestAppCustomContainer::Model::Foo',
9
# required => 1,
10
);
11
12
sub BUILD {}
13
14
after BUILD => sub {
15
my $self = shift;
16
ok $self->foo;
17
isa_ok($self->foo, 'TestAppCustomContainer::Model::DefaultSetup');
18
};
19
20
1;