@Test
public void testEquals() {

  Row oldRow1 = new Row().stringColumn("name", "old_name");
  Row oldRow2 = new Row(ImmutableMap.of("name", Atom.string("old_name")));
  Row newRow1 = new Row().stringColumn("name", "new_name");
  Row newRow2 = new Row(ImmutableMap.of("name", Atom.string("new_name")));
  new EqualsTester()
      .addEqualityGroup(new RowUpdate(), new RowUpdate(null, null))
      .addEqualityGroup(new RowUpdate(oldRow1, null), new RowUpdate().setOld(oldRow2))
      .addEqualityGroup(new RowUpdate(null, newRow1), new RowUpdate().setNew(newRow2))
      .testEquals();
}