示例#1
0
 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
 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);
 }