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