示例#1
0
 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();
 }
示例#2
0
文件: child.php 项目: eroluysal/atoum
 public function __construct(asserters\phpArray $parent = null)
 {
     parent::__construct($parent->getGenerator(), $parent->getAnalyzer(), $parent->getLocale());
     $this->setWithParent($parent);
 }