public function container() { $configuration = new TestConfiguration(); $container = new ServiceContainer(); $container->configure($configuration); $this->assert(isset($container->test), 'The service "test" should exist.'); }
public function viewHelpers() { $helpers = new ServiceContainer(); $helpers->configure($this->viewHelperConfiguration); return $helpers; }