public function testUpdateNotFound() { $this->setExpectedException('\\Centreon\\Internal\\Exception', "Object not in database.", 0); $newInformation = array('login' => 'User 1'); User::update(42, $newInformation); }