public function testGetItemWithNotes($session_token, $computers_id)
{
// Get the previously created 'computer 1'
$res = $this->doHttpRequest('GET', "Computer/{$computers_id}", ['headers' => ['Session-Token' => $session_token], 'query' => ['with_notes' => true]]);
$this->assertNotEquals(null, $res, $this->last_error);
$this->assertEquals(200, $res->getStatusCode());
$body = $res->getBody();
$data = json_decode($body, true);
$this->assertNotEquals(false, $data);
$this->assertArrayHasKey('id', $data);
$this->assertArrayHasKey('name', $data);
$this->assertArrayHasKey('_notes', $data);
$notes = $data['_notes'];
$this->assertArrayHasKey('id', $notes[0]);
$this->assertArrayHasKey('itemtype', $notes[0]);
$this->assertArrayHasKey('items_id', $notes[0]);
$this->assertArrayHasKey('id', $notes[0]);
$this->assertArrayHasKey('users_id', $notes[0]);
$this->assertArrayHasKey('content', $notes[0]);
}