public function testYouCanUseTheContainerAsAnArray() { $this->container->add(new Test('myTest')); $this->assertInstanceOf('Namshi\\AB\\Test', $this->container['myTest']); }