public function test__construct() { $this->if($asserter = new sut($generator = new asserter\generator()))->then->object($asserter->getLocale())->isIdenticalTo($generator->getLocale())->object($asserter->getGenerator())->isIdenticalTo($generator)->variable($asserter->getValue())->isNull()->boolean($asserter->wasSet())->isFalse()->variable($asserter->getKey())->isNull()->variable($asserter->getInnerAsserter())->isNull()->variable($asserter->getInnerValue())->isNull(); }
public function __construct(asserters\phpArray $parent = null) { parent::__construct($parent->getGenerator(), $parent->getAnalyzer(), $parent->getLocale()); $this->setWithParent($parent); }