Mercurial > pub > Impl
diff _test/Test/Config/Container.pm @ 418:3f38dabaf5cc ref20150831
sync
author | cin |
---|---|
date | Mon, 28 Dec 2015 15:11:35 +0300 |
parents | 3ed0c58e9da3 |
children | b0481c071bea |
line wrap: on
line diff
--- a/_test/Test/Config/Container.pm Mon Nov 02 01:56:53 2015 +0300 +++ b/_test/Test/Config/Container.pm Mon Dec 28 15:11:35 2015 +0300 @@ -20,7 +20,8 @@ use IMPL::declare { require => { - Container => 'IMPL::Config::Container' + Container => 'IMPL::Config::Container', + }, base => { 'IMPL::Test::Unit' => '@_' @@ -32,9 +33,21 @@ my $c1 = Container->new(); }; -sub RegisterServices { +test RegisterServices => sub { my $c1 = Container->new(); -} + + $c1->Register( 'db' => Service->new( + type => 'Foo::Data', + norequire => 1, + activation => 'container' + )); + + return $c1; +}; + +test ResolveServices => sub { + +}; 1; \ No newline at end of file