Beispiel #1
0
 /**
  * @covers ::hasId
  */
 public function testHasId()
 {
     $model = new City(['id' => 12]);
     $models = new Models();
     $this->assertFalse($models->hasId(12));
     $models->add($model);
     $this->assertTrue($models->hasId(12));
 }