/** * @covers ::hasSavedProperties */ public function testHasSavedProperties() { $city = new City(); $this->assertFalse($city->hasSavedProperties()); $city = new City(['id' => 10]); $this->assertTrue($city->hasSavedProperties()); }
/** * @covers ::hasSavedProperties */ public function testHasSavedProperties() { $city = new City(); $this->assertFalse($city->hasSavedProperties()); $city = new City(['id' => 10]); $this->assertTrue($city->hasSavedProperties()); }