### Question:
StepField { public String toString() { StringBuffer sb = new StringBuffer( "{ step:" ); sb.append( stepName ); sb.append( ", field:" ); sb.append( fieldName ); sb.append( " }" ); return sb.toString(); } StepField();  StepField( String stepName, String fieldName );  StepField( StepField stepField ); String getFieldName(); void setFieldName( String fieldName ); String getStepName(); void setStepName( String stepName ); Map<String, String> toMap(); String toString(); @Override int hashCode(); @Override boolean equals( Object sf );  }### Answer:
@Test public void testToString() { stepField = new StepField( "testStep", "testField" ); assertEquals( "{ step:testStep, field:testField }", stepField.toString() ); }