setTopicAttributesRequest.setTopicArn(topicArn);
cns2.setTopicAttributes(setTopicAttributesRequest);
GetTopicAttributesRequest getTopicAttributesRequest = new GetTopicAttributesRequest();
getTopicAttributesRequest.setTopicArn(topicArn);
GetTopicAttributesResult result = cns1.getTopicAttributes(getTopicAttributesRequest);
assertTrue("Expected display name NewDisplayName, instead found " + result.getAttributes().get("DisplayName"), result.getAttributes().get("DisplayName").equals("NewDisplayName"));
RemovePermissionRequest removePermissionRequest = new RemovePermissionRequest();
removePermissionRequest.setTopicArn(topicArn);
removePermissionRequest.setLabel("P1");
cns1.removePermission(removePermissionRequest);