### Question:
NettyClientProperties { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; NettyClientProperties that = (NettyClientProperties) o; if (workers != that.workers) return false; if (maxPoolConn != that.maxPoolConn) return false; if (groupEventType != null ? !groupEventType.equals(that.groupEventType) : that.groupEventType != null) return false; if (socketChannelType != null ? !socketChannelType.equals(that.socketChannelType) : that.socketChannelType != null) return false; return channelPipelines != null ? channelPipelines.equals(that.channelPipelines) : that.channelPipelines == null; }  String getGroupEventType(); void setGroupEventType(String groupEventType); String getSocketChannelType(); void setSocketChannelType(String socketChannelType); int getWorkers(); void setWorkers(int workers); int getMaxPoolConn(); void setMaxPoolConn(int maxPoolConn); List<String> getChannelPipelines(); void setChannelPipelines(List<String> channelPipelines); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testEquals() throws Exception { NettyClientProperties properties1 = new NettyClientProperties(); properties1.setMaxPoolConn(1); NettyClientProperties properties2 = new NettyClientProperties(); properties2.setMaxPoolConn(1); assertTrue(properties1.equals(properties2)); }