PcapStat implements Cloneable { @Override public String toString() { return new StringBuilder(100) .append("PcapStat{ps_recv=").append(this.ps_recv) .append(", ps_drop=").append(this.ps_drop) .append(", ps_ifdrop=").append(this.ps_ifdrop) .append('}') .toString(); } protected  PcapStat(); protected  PcapStat(long psRecv, long psDrop, long psIfdrop); static PcapStat newInstance(); long getPsRecv(); long getPsDrop(); long getPsIfdrop(); @Override boolean equals(final Object o); @Override int hashCode(); @Override PcapStat clone(); @Override String toString();  }
@Test @Override public void toStringTest() { PcapStat stat = new PcapStat(1L, 2L, 3L); assert !stat.toString().equals(""); }