/** * @covers ::getProperties * @covers ::getPublicPropertiesOf */ public function testGetProperties() { $object = new City(['id' => 10, 'name' => 'test1']); $properties = $object->getProperties(); $expected = ['id' => 10, 'name' => 'test1', 'countryId' => null]; $this->assertEquals($expected, $properties); }