public function testDeleteNotExists() { /* Test exception object doesn't exist */ $this->setExpectedException('\\Centreon\\Internal\\Exception', "Object not in database.", 0); User::delete(42); }