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); }
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); }