final ClassInfo fieldType = classInfoFactory
.getClassInfo("net.sf.joafip.java.util.IPNavigableTreeSet");
final FieldInfo originalFieldInfo = new FieldInfo(classInfo,
"pTreeSet", fieldType/* fieldType */, null/* staticField */, null/* transientField */);
final FieldReplacementDef replacementFieldinfo = classReplacementDef
.getReplacementFieldInfo(originalFieldInfo);
assertFalse("must not be a deleted field",
replacementFieldinfo.isDeletedField());
final FieldInfo newFieldInfo = replacementFieldinfo.getFieldInfo();
final FieldInfo expected = new FieldInfo(classInfo, "treeSet",
fieldType/* fieldType */, null/* staticField */, null/* transientField */);
assertEquals("bad replacement", expected, newFieldInfo);
}