### Question:
SqsReceiverUtils { public static String queue(Configuration conf) { return checkNotNull(stringProperty(conf, QUEUE), "Property " + QUEUE + " is not set"); } private  SqsReceiverUtils(); static String queue(Configuration conf); static String region(Configuration conf); static int waitTimeSeconds(Configuration conf); static AWSCredentialsProvider credentials(final Configuration conf);  }### Answer:
@Test public void queueIsNotNull() { conf.set(QUEUE.key(), "queue"); assertThat(queue(conf)).isEqualTo("queue"); }
@Test(expected = IllegalArgumentException.class) public void queueIsNull() { conf.set(QUEUE.key(), null); queue(conf); }