getId() public méthode

public getId ( )
 public function testGetChildrenAsList()
 {
     $this->markTestSkipped('Fix dme: https://github.com/sulu-cmf/sulu/issues/355');
     $client = $this->createAuthenticatedClient();
     $client->request('GET', '/api/categories/first-category-key/children?flat=true&sortBy=depth&sortOrder=desc');
     $response = json_decode($client->getResponse()->getContent());
     $this->assertEquals(200, $client->getResponse()->getStatusCode());
     $this->assertEquals(2, count($response->_embedded->categories));
     $this->assertEquals($this->category4->getId(), $response->_embedded->categories[0]->id);
     $this->assertEquals($this->category3->getId(), $response->_embedded->categories[1]->id);
 }