def METHOD_NAME(self):
    result = self.vm.qmp('query-fdsets')
    result = self.vm.qmp('remove-fd', fdset_id=2, fd=999)
    self.assert_qmp(result, 'error/class', 'GenericError')
    self.assert_qmp(result, 'error/desc',
        'File descriptor named \'fdset-id:2, fd:999\' not found')
    self.vm.shutdown()