public function testIsEmpty() { $this->if($generator = new asserter\generator())->and($parent = new CrawlerAssert($generator))->and($object = new TestedClass($generator, $parent))->then->object($object->isEmpty())->isIdenticalTo($object)->integer($object->getChildCount())->isEqualTo(0)->string($object->getContent())->isEmpty(); }
public function testIsEmpty() { $this->if($object = new TestedClass())->then->object($object->isEmpty())->isIdenticalTo($object)->integer($object->getChildCount())->isEqualTo(0)->string($object->getContent())->isEmpty(); }