### Question:
BaseMigdalorHeader implements MigdalorHeader<String> { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BaseMigdalorHeader that = (BaseMigdalorHeader) o; if (schemaRevision != null ? !schemaRevision.equals(that.schemaRevision) : that.schemaRevision != null) return false; return true; } BaseMigdalorHeader(String schemaRevision); byte[] getSchemaVersion(); byte[] getRevisionLengthInBytes(); @Override String getSchemaRevision(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testEquals() throws Exception { BaseMigdalorHeader thatEquals = new BaseMigdalorHeader("1"); BaseMigdalorHeader thatNotEquals = new BaseMigdalorHeader("2"); Assert.assertEquals(thatEquals, basemigdalorHeader); Assert.assertNotSame(thatNotEquals, basemigdalorHeader); }