@Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }

      LogEntry logEntry = (LogEntry) o;
      return id.equals(logEntry.id) && entryType == logEntry.entryType && size == logEntry.size;
    }
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