public function testUpdateUnknownId() { $newInfo = array('service_alias' => 'test'); $this->setExpectedException('\\Centreon\\Internal\\Exception', $this->errMsg); Service::update(9999, $newInfo); }