public function testContainerDoesntAcceptArrayWithoutKey() { $this->setExpectedException('RuntimeException'); $c = new Container(null, $this->configArray); }