return fileModel.setConsumer(model);
}
@Override
protected void createModelAssertions(V1CamelFileBindingModel model) {
CamelFileConsumerBindingModel consumer = model.getConsumer();
assertEquals(INITIAL_DELAY, consumer.getInitialDelay());
assertEquals(DELAY, consumer.getDelay());
assertEquals(MAX_MESSAGES_PER_POLL, consumer.getMaxMessagesPerPoll());
assertEquals(RECURSIVE, consumer.isRecursive());
assertEquals(DELETE, consumer.isDelete());
assertEquals(NOOP, consumer.isNoop());
assertEquals(PRE_MOVE, consumer.getPreMove());
assertEquals(MOVE, consumer.getMove());
assertEquals(MOVE_FAILED, consumer.getMoveFailed());
assertEquals(INCLUDE, consumer.getInclude());
assertEquals(EXCLUDE, consumer.getExclude());
assertEquals(IDEMPOTENT, consumer.isIdempotent());
assertEquals(SORT_BY, consumer.getSortBy());
assertEquals(READ_LOCK, consumer.getReadLock());
assertEquals(READ_LOCK_TIMEOUT, consumer.getReadLockTimeout());
assertEquals(READ_LOCK_CHECK_INTERVAL, consumer.getReadLockCheckInterval());
assertEquals(STARTING_DIRECTORY_MUST_EXIST, consumer.isStartingDirectoryMustExist());
assertEquals(DIRECTORY_MUST_EXIST, consumer.isDirectoryMustExist());
assertEquals(DONE_FILE_NAME, consumer.getDoneFileName());
}