### Question:
RqueueMessageListenerContainer implements InitializingBean, DisposableBean, SmartLifecycle, BeanNameAware { public void setMaxNumWorkers(int maxNumWorkers) { this.maxNumWorkers = maxNumWorkers; } RqueueMessageListenerContainer(
      RqueueMessageHandler rqueueMessageHandler, RqueueMessageTemplate rqueueMessageTemplate); RqueueMessageTemplate getRqueueMessageTemplate(); long getMaxWorkerWaitTime(); void setMaxWorkerWaitTime(long stopTime); String getBeanName(); @Override void setBeanName(String name); RqueueMessageHandler getRqueueMessageHandler(); Integer getMaxNumWorkers(); void setMaxNumWorkers(int maxNumWorkers); long getBackOffTime(); void setBackOffTime(long backOffTime); @Override void destroy(); @Override int getPhase(); void setPhase(int phase); @Override boolean isAutoStartup(); void setAutoStartup(boolean autoStartup); @Override void stop(Runnable callback); @Override void afterPropertiesSet(); AsyncTaskExecutor createDefaultTaskExecutor(
      List<QueueDetail> registeredActiveQueueDetail); @Override void start(); AsyncTaskExecutor getTaskExecutor(); void setTaskExecutor(AsyncTaskExecutor taskExecutor); @Override void stop(); @Override boolean isRunning(); long getPollingInterval(); void setPollingInterval(long pollingInterval); MessageProcessor getDiscardMessageProcessor(); void setDiscardMessageProcessor(MessageProcessor discardMessageProcessor); MessageProcessor getDeadLetterQueueMessageProcessor(); void setDeadLetterQueueMessageProcessor(MessageProcessor deadLetterQueueMessageProcessor); MessageProcessor getManualDeletionMessageProcessor(); void setManualDeletionMessageProcessor(MessageProcessor manualDeletionMessageProcessor); MessageProcessor getPostExecutionMessageProcessor(); void setPostExecutionMessageProcessor(MessageProcessor postExecutionMessageProcessor); MessageProcessor getPreExecutionMessageProcessor(); void setPreExecutionMessageProcessor(MessageProcessor preExecutionMessageProcessor); TaskExecutionBackOff getTaskExecutionBackOff(); void setTaskExecutionBackOff(TaskExecutionBackOff taskExecutionBackOff); PriorityMode getPriorityMode(); void setPriorityMode(PriorityMode priorityMode);  }### Answer:
@Test public void setMaxNumWorkers() { container.setMaxNumWorkers(1000); assertEquals(Integer.valueOf(1000), container.getMaxNumWorkers()); }