@Test
public void getUpdateStatusFromUpdateMapFailure() throws Exception {

    VulnerabilityUpdateStatus result = getUpdateStatusFromUpdateMap(failedUpdateMap);
    assertThat(result.getRequestStatus(), is(RequestStatus.FAILURE));
    assertThat(result.statusToVulnerabilityIds.get(UpdateType.UPDATED), containsInAnyOrder("ue1", "ue2", "ue3"));
    assertThat(result.statusToVulnerabilityIds.get(UpdateType.NEW), containsInAnyOrder("ne1", "ne2"));
    assertThat(result.statusToVulnerabilityIds.get(UpdateType.OLD), containsInAnyOrder("oe1", "oe2", "oe3"));
    assertThat(result.statusToVulnerabilityIds.get(UpdateType.FAILED), containsInAnyOrder("fe1", "fe2", "fe3"));
}