コード例 #1
0
ファイル: Element.php プロジェクト: SelviA/AtoumBundle
 public function testAtLeast()
 {
     $this->if($generator = new asserter\generator())->and($parent = new CrawlerAssert($generator))->and($object = new TestedClass($generator, $parent))->and($count = rand(0, PHP_INT_MAX))->then->object($object->atLeast($count))->isIdenticalTo($object)->integer($object->getAtLeast())->isIdenticalTo($count);
 }
コード例 #2
0
ファイル: Element.php プロジェクト: aliel/AtoumBundle
 public function testAtLeast()
 {
     $this->if($object = new TestedClass())->and($count = rand(0, PHP_INT_MAX))->then->object($object->atLeast($count))->isIdenticalTo($object)->integer($object->getAtLeast())->isIdenticalTo($count);
 }