@Override
    public int hashCode() {
      int result = id.hashCode();
      result = 31 * result + entryType.hashCode();
      result = 31 * result + (int) size;
      return result;
    }
Create an instance with {@code id} and {@code entryType}
@param id the {@link MockId} of the entry.
@param entryType the type of the entry.
@param size the size of the log entry.
ambry-store/src/test/java/com/github/ambry/store/BlobStoreCompactorTest.java