@Test(expected=NullPointerException.class) public void createCcCourtAreaFieldValue_NULL_Court() { ccCourtAreaFieldValueCreator.createCcCourtAreaFieldValue(12L, null); }
public String createCcCourtAreaFieldValue(Long parentAreaCourtId, CommonCourt ccCourt) { Preconditions.checkNotNull(ccCourt); String ccCourtArea = ccCourt.getName() + CC_COURT_AREA_VALUE_PART_SEPARATOR + ccCourt.getId(); String parentAreaCourtIdStr = calcParentAreaCourtId(parentAreaCourtId); ccCourtArea = fieldValuePrefixAdder.addFieldPrefix(parentAreaCourtIdStr, ccCourtArea); return ccCourtArea; }
CcCourtAreaFieldValueCreator { public String createCcCourtAreaFieldValue(Long parentAreaCourtId, CommonCourt ccCourt) { Preconditions.checkNotNull(ccCourt); String ccCourtArea = ccCourt.getName() + CC_COURT_AREA_VALUE_PART_SEPARATOR + ccCourt.getId(); String parentAreaCourtIdStr = calcParentAreaCourtId(parentAreaCourtId); ccCourtArea = fieldValuePrefixAdder.addFieldPrefix(parentAreaCourtIdStr, ccCourtArea); return ccCourtArea; } }
CcCourtAreaFieldValueCreator { public String createCcCourtAreaFieldValue(Long parentAreaCourtId, CommonCourt ccCourt) { Preconditions.checkNotNull(ccCourt); String ccCourtArea = ccCourt.getName() + CC_COURT_AREA_VALUE_PART_SEPARATOR + ccCourt.getId(); String parentAreaCourtIdStr = calcParentAreaCourtId(parentAreaCourtId); ccCourtArea = fieldValuePrefixAdder.addFieldPrefix(parentAreaCourtIdStr, ccCourtArea); return ccCourtArea; }  }
CcCourtAreaFieldValueCreator { public String createCcCourtAreaFieldValue(Long parentAreaCourtId, CommonCourt ccCourt) { Preconditions.checkNotNull(ccCourt); String ccCourtArea = ccCourt.getName() + CC_COURT_AREA_VALUE_PART_SEPARATOR + ccCourt.getId(); String parentAreaCourtIdStr = calcParentAreaCourtId(parentAreaCourtId); ccCourtArea = fieldValuePrefixAdder.addFieldPrefix(parentAreaCourtIdStr, ccCourtArea); return ccCourtArea; }  String createCcCourtAreaFieldValue(Long parentAreaCourtId, CommonCourt ccCourt); }
CcCourtAreaFieldValueCreator { public String createCcCourtAreaFieldValue(Long parentAreaCourtId, CommonCourt ccCourt) { Preconditions.checkNotNull(ccCourt); String ccCourtArea = ccCourt.getName() + CC_COURT_AREA_VALUE_PART_SEPARATOR + ccCourt.getId(); String parentAreaCourtIdStr = calcParentAreaCourtId(parentAreaCourtId); ccCourtArea = fieldValuePrefixAdder.addFieldPrefix(parentAreaCourtIdStr, ccCourtArea); return ccCourtArea; }  String createCcCourtAreaFieldValue(Long parentAreaCourtId, CommonCourt ccCourt); static final String CC_COURT_AREA_VALUE_PART_SEPARATOR; static final String NULL_PARENT_COURT_ID; }