### Question:
FieldMapping implements IFieldMapping { public void setTargetFieldName( String targetFieldName ) { this.targetFieldName = targetFieldName; } FieldMapping();  FieldMapping( String sourceFieldName, String targetFieldName ); @Override String getSourceFieldName(); @Override String getTargetFieldName(); void setSourceFieldName( String sourceFieldName ); void setTargetFieldName( String targetFieldName ); @Override boolean equals( Object o ); @Override int hashCode();  }### Answer:
@Test public void testSetTargetFieldName() throws Exception { mapping = new FieldMapping(); assertNull( mapping.getTargetFieldName() ); mapping.setTargetFieldName( "to" ); assertEquals( "to", mapping.getTargetFieldName() ); }