### Question:
OmKeyLocationInfoGroup { public List<OmKeyLocationInfo> getLocationList() { return locationVersionMap.values().stream().flatMap(List::stream) .collect(Collectors.toList()); } OmKeyLocationInfoGroup(long version,
                                List<OmKeyLocationInfo> locations);  OmKeyLocationInfoGroup(long version,
                                Map<Long, List<OmKeyLocationInfo>> locations); List<OmKeyLocationInfo> getBlocksLatestVersionOnly(); long getVersion(); List<OmKeyLocationInfo> getLocationList(); long getLocationListCount(); List<OmKeyLocationInfo> getLocationList(Long versionToFetch); KeyLocationList getProtobuf(boolean ignorePipeline); static OmKeyLocationInfoGroup getFromProtobuf(
      KeyLocationList keyLocationList); @Override String toString();  }### Answer:
@Test public void testGettingPreviousVersions() { OmKeyLocationInfoGroup testInstance = createTestInstance(); List<OmKeyLocationInfo> list = testInstance.getLocationList(1L); Assert.assertEquals(2, list.size()); }