public void should_ReturnReplacedTokenizedResponse_WhenCapturingGroupHasSubgroups() throws Exception {
final String requestUrl = String.format("%s%s", STUBS_URL, "/groups/with/sub/groups/abc-123");
final HttpRequest request = HttpUtils.constructHttpRequest(HttpMethods.GET, requestUrl);
final HttpResponse response = request.execute();
String responseContent = response.parseAsString().trim();
assertThat(response.getStatusCode()).isEqualTo(HttpStatus.OK_200);
assertThat(responseContent).isEqualTo("Returned content with URL /groups/with/sub/groups/abc-123, parent group abc-123 and two sub-groups abc & 123");
}
@Test