Exemplo n.º 1
0
 /**
  * @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);
 }