public function testUpdateNotFound() { $this->setExpectedException('\\Centreon\\Internal\\Exception', $this->errMsg, 0); $newInformation = array('host_name' => 'Host'); Hosttemplate::update(42, $newInformation); }