String getStatusReportView(String responseBody) {
        String statusReportView = (String) DEFAULT_GSON.fromJson(responseBody, Map.class).get("view");
        if (StringUtils.isBlank(statusReportView)) {
            throw new RuntimeException("Status Report is blank!");
        }
        return statusReportView;
    }
@Test
    public void shouldGetStatusReportViewFromResponseBody() {
        String template = new ElasticAgentExtensionConverterV5().getStatusReportView("{\"view\":\"foo\"}");
        assertThat(template, is("foo"));
    }