### Question:
SnsTopicResource { public String getTopicArn() { return topicArn; } SnsTopicResource(final String topicName, final String topicArn, final AmazonSNS amazonSnsClient); void publish(final String subject, final String message); void subscribe(final SqsQueueResource sqsQueueResource); void setPolicy(final Policy policy); String getTopicName(); String getTopicArn();  }### Answer:
@Test public void shouldReturnTopicArn() { final String returnedTopicArn = snsTopicResource.getTopicArn(); assertEquals(topicArn, returnedTopicArn); }