### Question:
QueueConfig extends SerializableBase { public boolean updatePriorityGroup(String priorityGroup) { if (this.priorityGroup == null || !this.priorityGroup.equals(priorityGroup)) { this.priorityGroup = priorityGroup; 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 updatePriorityGroup() { QueueConfig queueConfig = TestUtils.createQueueConfig("test"); assertTrue(queueConfig.updatePriorityGroup("new-group")); assertEquals("new-group", queueConfig.getPriorityGroup()); assertFalse(queueConfig.updatePriorityGroup("new-group")); }