@Test
public void testEquals() {

  List<String> columns1 = ImmutableList.of("column1", "column2");
  List<String> columns2 = Stream.of("column1", "column2").collect(Collectors.toList());
  MonitorSelect monitorSelect1 = new MonitorSelect().setInitial(true).setInsert(false);
  MonitorSelect monitorSelect2 = new MonitorSelect(true, false, null, null);
  new EqualsTester()
      .addEqualityGroup(new MonitorRequest(), new MonitorRequest(null, null))
      .addEqualityGroup(new MonitorRequest(columns1), new MonitorRequest(columns2, null))
      .addEqualityGroup(new MonitorRequest(columns1, monitorSelect1),
          new MonitorRequest(columns2, monitorSelect2))
      .testEquals();
}