@Override
    public MaterialPollResult responseMessageForLatestRevisionsSince(String responseBody) {
        if (isEmpty(responseBody)) return new MaterialPollResult();
        Map responseBodyMap = getResponseMap(responseBody);
        return new MaterialPollResult(toMaterialDataMap(responseBodyMap), toSCMRevisions(responseBodyMap));
    }
@Test
    public void shouldBuildNullSCMRevisionFromLatestRevisionsSinceWhenEmptyResponse() throws Exception {
        MaterialPollResult pollResult = messageHandler.responseMessageForLatestRevisionsSince("");
        assertThat(pollResult.getRevisions(), nullValue());
        assertThat(pollResult.getMaterialData(), nullValue());
        pollResult = messageHandler.responseMessageForLatestRevisionsSince(null);
        assertThat(pollResult.getRevisions(), nullValue());
        assertThat(pollResult.getMaterialData(), nullValue());
    }