### Question:
BatchExecution { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BatchExecution that = (BatchExecution) o; if (batchQueries != null ? !batchQueries.equals(that.batchQueries) : that.batchQueries != null) return false; if (consistency != null ? !consistency.equals(that.consistency) : that.consistency != null) return false; if (serialConsistency != null ? !serialConsistency.equals(that.serialConsistency) : that.serialConsistency != null) return false; if (batchType != that.batchType) return false; return timestamp != null ? timestamp.equals(that.timestamp) : that.timestamp == null; } private  BatchExecution(List<BatchQuery> batchQueries, String consistency, String serialConsistency,
                           BatchType batchType, Long timestamp); List<BatchQuery> getBatchQueries(); String getConsistency(); String getSerialConsistency(); BatchType getBatchType(); Long getTimestamp(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static BatchExecutionBuilder builder();  }### Answer:
@Test public void testEquals() throws Exception { EqualsVerifier.forClass(BatchExecution.class) .allFieldsShouldBeUsed() .verify(); }