### Question:
QueueConfig extends SerializableBase { public boolean updateConcurrency(MinMax<Integer> concurrency) { if (this.concurrency == null || !this.concurrency.equals(concurrency)) { this.concurrency = concurrency; return true; } return false; }  void updateTime(); boolean updateRetryCount(int newRetryCount); boolean addDeadLetterQueue(DeadLetterQueue deadLetterQueue); boolean updateVisibilityTimeout(long newTimeOut); boolean updateConcurrency(MinMax<Integer> concurrency); boolean updatePriorityGroup(String priorityGroup); boolean updatePriority(Map<String, Integer> newPriority); @JsonIgnore boolean isDeadLetterQueue(String name); @JsonIgnore boolean hasDeadLetterQueue();  }### Answer:
@Test public void updateConcurrency() { QueueConfig queueConfig = TestUtils.createQueueConfig("test"); MinMax<Integer> concurrency = new MinMax<>(1, 10); assertTrue(queueConfig.updateConcurrency(concurrency)); assertEquals(concurrency, queueConfig.getConcurrency()); assertFalse(queueConfig.updateConcurrency(concurrency)); }