public function testExceptions() { $options = (new SoapOptions())->setExceptions(true); self::assertTrue($options->getExceptions()); self::assertFalse($options->setExceptions(false)->getExceptions()); }