/** * @covers ::isEmpty */ public function testIsEmpty() { $model = new Model(); $models = new Models(); $this->assertTrue($models->isEmpty()); $models->add($model); $this->assertFalse($models->isEmpty()); }
/** * @return boolean */ public function isEmpty() { return $this->current->isEmpty(); }