QueueUtils { public static boolean isIsolatedQueue(String queue) { return StringUtils.isNotBlank(getIsolationGroup(queue)); }  static String getQueueName(Task task); static String getQueueName(String taskType, String domain, String isolationGroup, String executionNameSpace); static String getQueueNameWithoutDomain(String queueName); static String getExecutionNameSpace(String queueName); static boolean isIsolatedQueue(String queue); static String getTaskType(String queue); static final String DOMAIN_SEPARATOR; static final String ISOLATION_SEPARATOR; static final String EXECUTION_NAME_SPACE_SEPRATOR; }
@Test public void notIsolatedIfSeparatorNotPresent() { String notIsolatedQueue = "notIsolated"; Assert.assertFalse( QueueUtils.isIsolatedQueue(notIsolatedQueue)); }