@Test
  public void getErrorCasesTest() throws StoreException {
    // duplicate IDs
    List<StoreKey> listWithDups = new ArrayList<>();
    listWithDups.add(liveKeys.iterator().next());
    listWithDups.add(listWithDups.get(0));
    try {
      store.get(listWithDups, EnumSet.noneOf(StoreGetOptions.class));
      fail("GET of " + listWithDups + " should  have failed");
    } catch (IllegalArgumentException e) {
      // expected. Nothing to do.
    }
  }
Tests some error cases for {@link BlobStore#get(List, EnumSet)};
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/BlobStoreTest.java