BatchJobManagementParam { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("BatchJobManagementParam["); sb.append("jobSequenceId=" + jobSequenceId); sb.append(",forUpdate=" + ForUpdate); sb.append("]"); return sb.toString(); }  void setJobSequenceId(final String jobSequenceId); String getJobSequenceId(); void setForUpdate(final boolean argForUpdate); boolean getForUpdate(); @Override String toString();  }
@Test public void testToString() { BatchJobManagementParam p = new BatchJobManagementParam(); p.setJobSequenceId("a"); p.setForUpdate(true); assertEquals("BatchJobManagementParam[jobSequenceId=a,forUpdate=true]", p.toString()); }