public function testAcceptAllExtensions() { $this->if($iterator = new testedClass())->then->object($iterator->acceptAllExtensions())->isIdenticalTo($iterator)->array($iterator->getAcceptedExtensions())->isEmpty(); }