Capabilities getCapabilitiesFromResponseBody(String responseBody) {
        final CapabilitiesDTO capabilitiesDTO = FORCED_EXPOSE_GSON.fromJson(responseBody, CapabilitiesDTO.class);
        return capabilitiesConverterV4.fromDTO(capabilitiesDTO);
    }
@Test
    public void shouldGetCapabilitiesFromResponseBody() {
        String responseBody = "{\"supports_status_report\":\"true\",\"supports_agent_status_report\":\"true\"}";

        Capabilities capabilities = new ElasticAgentExtensionConverterV4().getCapabilitiesFromResponseBody(responseBody);

        assertTrue(capabilities.supportsPluginStatusReport());
        assertTrue(capabilities.supportsAgentStatusReport());
    }