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