public function testContainerDoesntAcceptInvalidConfigType() { $this->setExpectedException('InvalidArgumentException'); $c = new Container(null, new \stdClass()); }