/** * @covers PPI\Framework\ServiceManager::setThrowExceptionInCreate * @covers PPI\Framework\ServiceManager::getThrowExceptionInCreate */ public function testThrowExceptionInCreate() { $this->assertTrue($this->serviceManager->getThrowExceptionInCreate()); $ret = $this->serviceManager->setThrowExceptionInCreate(false); $this->assertSame($this->serviceManager, $ret); $this->assertFalse($this->serviceManager->getThrowExceptionInCreate()); }