@Test(expected=NullPointerException.class) public void convert_NULL() { ccCourtAreaFieldValueConverter.convert(null); }
public CcCourtArea convert(String ccCourtAreaFieldValue) { Preconditions.checkNotNull(ccCourtAreaFieldValue); String courtAreaStr = fieldValuePrefixAdder.extractFieldValue(ccCourtAreaFieldValue); String name = courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[0]; long courtId = Long.parseLong(courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[1]); CcCourtArea ccCourtArea = new CcCourtArea(); ccCourtArea.setCourtId(courtId); ccCourtArea.setName(name); return ccCourtArea; }
CcCourtAreaFieldValueConverter { public CcCourtArea convert(String ccCourtAreaFieldValue) { Preconditions.checkNotNull(ccCourtAreaFieldValue); String courtAreaStr = fieldValuePrefixAdder.extractFieldValue(ccCourtAreaFieldValue); String name = courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[0]; long courtId = Long.parseLong(courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[1]); CcCourtArea ccCourtArea = new CcCourtArea(); ccCourtArea.setCourtId(courtId); ccCourtArea.setName(name); return ccCourtArea; } }
CcCourtAreaFieldValueConverter { public CcCourtArea convert(String ccCourtAreaFieldValue) { Preconditions.checkNotNull(ccCourtAreaFieldValue); String courtAreaStr = fieldValuePrefixAdder.extractFieldValue(ccCourtAreaFieldValue); String name = courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[0]; long courtId = Long.parseLong(courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[1]); CcCourtArea ccCourtArea = new CcCourtArea(); ccCourtArea.setCourtId(courtId); ccCourtArea.setName(name); return ccCourtArea; }  }
CcCourtAreaFieldValueConverter { public CcCourtArea convert(String ccCourtAreaFieldValue) { Preconditions.checkNotNull(ccCourtAreaFieldValue); String courtAreaStr = fieldValuePrefixAdder.extractFieldValue(ccCourtAreaFieldValue); String name = courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[0]; long courtId = Long.parseLong(courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[1]); CcCourtArea ccCourtArea = new CcCourtArea(); ccCourtArea.setCourtId(courtId); ccCourtArea.setName(name); return ccCourtArea; }  CcCourtArea convert(String ccCourtAreaFieldValue); }
CcCourtAreaFieldValueConverter { public CcCourtArea convert(String ccCourtAreaFieldValue) { Preconditions.checkNotNull(ccCourtAreaFieldValue); String courtAreaStr = fieldValuePrefixAdder.extractFieldValue(ccCourtAreaFieldValue); String name = courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[0]; long courtId = Long.parseLong(courtAreaStr.split(CcCourtAreaFieldValueCreator.CC_COURT_AREA_VALUE_PART_SEPARATOR)[1]); CcCourtArea ccCourtArea = new CcCourtArea(); ccCourtArea.setCourtId(courtId); ccCourtArea.setName(name); return ccCourtArea; }  CcCourtArea convert(String ccCourtAreaFieldValue);  }