/** * @expectedException \XAPISdk\Clients\ResourceNotFoundException * @group read */ public function test_gettingSoggettoWithWrongId_shouldThrowException() { $sogg = $this->_client->get('YOU_CANNOT_FIND_ME'); }