String articleLink = "articleLink";
String commentId = "commentId";
int parentsShown = 0;
int depth = 8;
int limit = 20;
CommentSort commentSort = CommentSort.CONFIDENCE;
// Construct extra parameters
String parameters = "";
parameters += "&comment=" + commentId;
parameters += "&context=" + parentsShown;
parameters += "&depth=" + depth;
parameters += "&limit=" + limit;
parameters += "&sort=" + commentSort.value();
// Stub response
when(restClient.get(String.format(ApiEndpointUtils.SUBMISSION_COMMENTS, articleLink, parameters), null)).thenReturn(normalLayeredResponse);
// Execute and verify response