@Override
    public String requestMessageForLatestRevision(SCMPropertyConfiguration scmConfiguration, Map<String, String> materialData, String flyweightFolder) {
        Map configuredValues = new LinkedHashMap();
        configuredValues.put("scm-configuration", jsonResultMessageHandler.configurationToMap(scmConfiguration));
        configuredValues.put("scm-data", materialData);
        configuredValues.put("flyweight-folder", flyweightFolder);
        return GSON.toJson(configuredValues);
    }
@Test
    public void shouldBuildRequestBodyForLatestRevisionRequest() throws Exception {
        String requestBody = messageHandler.requestMessageForLatestRevision(scmPropertyConfiguration, materialData, "flyweight");

        assertThat(requestBody, is("{\"scm-configuration\":{\"key-one\":{\"value\":\"value-one\"},\"key-two\":{\"value\":\"value-two\"}},\"scm-data\":{\"key-one\":\"value-one\"},\"flyweight-folder\":\"flyweight\"}"));
    }