@Test(expected = NullPointerException.class) public void normalize_null() { normalizer.normalize(null); }
public AffMatchAffiliation normalize(AffMatchAffiliation affMatchAffiliation) { Preconditions.checkNotNull(affMatchAffiliation); AffMatchAffiliation normalizedAffiliation = new AffMatchAffiliation(affMatchAffiliation.getDocumentId(), affMatchAffiliation.getPosition()); normalizedAffiliation.setOrganizationName(organizationNameNormalizer.normalize(affMatchAffiliation.getOrganizationName())); normalizedAffiliation.setCountryName(countryNameNormalizer.normalize(affMatchAffiliation.getCountryName())); normalizedAffiliation.setCountryCode(countryCodeNormalizer.normalize(affMatchAffiliation.getCountryCode())); return normalizedAffiliation; }
AffMatchAffiliationNormalizer implements Serializable { public AffMatchAffiliation normalize(AffMatchAffiliation affMatchAffiliation) { Preconditions.checkNotNull(affMatchAffiliation); AffMatchAffiliation normalizedAffiliation = new AffMatchAffiliation(affMatchAffiliation.getDocumentId(), affMatchAffiliation.getPosition()); normalizedAffiliation.setOrganizationName(organizationNameNormalizer.normalize(affMatchAffiliation.getOrganizationName())); normalizedAffiliation.setCountryName(countryNameNormalizer.normalize(affMatchAffiliation.getCountryName())); normalizedAffiliation.setCountryCode(countryCodeNormalizer.normalize(affMatchAffiliation.getCountryCode())); return normalizedAffiliation; } }
AffMatchAffiliationNormalizer implements Serializable { public AffMatchAffiliation normalize(AffMatchAffiliation affMatchAffiliation) { Preconditions.checkNotNull(affMatchAffiliation); AffMatchAffiliation normalizedAffiliation = new AffMatchAffiliation(affMatchAffiliation.getDocumentId(), affMatchAffiliation.getPosition()); normalizedAffiliation.setOrganizationName(organizationNameNormalizer.normalize(affMatchAffiliation.getOrganizationName())); normalizedAffiliation.setCountryName(countryNameNormalizer.normalize(affMatchAffiliation.getCountryName())); normalizedAffiliation.setCountryCode(countryCodeNormalizer.normalize(affMatchAffiliation.getCountryCode())); return normalizedAffiliation; }  }
AffMatchAffiliationNormalizer implements Serializable { public AffMatchAffiliation normalize(AffMatchAffiliation affMatchAffiliation) { Preconditions.checkNotNull(affMatchAffiliation); AffMatchAffiliation normalizedAffiliation = new AffMatchAffiliation(affMatchAffiliation.getDocumentId(), affMatchAffiliation.getPosition()); normalizedAffiliation.setOrganizationName(organizationNameNormalizer.normalize(affMatchAffiliation.getOrganizationName())); normalizedAffiliation.setCountryName(countryNameNormalizer.normalize(affMatchAffiliation.getCountryName())); normalizedAffiliation.setCountryCode(countryCodeNormalizer.normalize(affMatchAffiliation.getCountryCode())); return normalizedAffiliation; }  AffMatchAffiliation normalize(AffMatchAffiliation affMatchAffiliation); void setOrganizationNameNormalizer(StringNormalizer organizationNameNormalizer); void setCountryNameNormalizer(StringNormalizer countryNameNormalizer); void setCountryCodeNormalizer(StringNormalizer countryCodeNormalizer); }
AffMatchAffiliationNormalizer implements Serializable { public AffMatchAffiliation normalize(AffMatchAffiliation affMatchAffiliation) { Preconditions.checkNotNull(affMatchAffiliation); AffMatchAffiliation normalizedAffiliation = new AffMatchAffiliation(affMatchAffiliation.getDocumentId(), affMatchAffiliation.getPosition()); normalizedAffiliation.setOrganizationName(organizationNameNormalizer.normalize(affMatchAffiliation.getOrganizationName())); normalizedAffiliation.setCountryName(countryNameNormalizer.normalize(affMatchAffiliation.getCountryName())); normalizedAffiliation.setCountryCode(countryCodeNormalizer.normalize(affMatchAffiliation.getCountryCode())); return normalizedAffiliation; }  AffMatchAffiliation normalize(AffMatchAffiliation affMatchAffiliation); void setOrganizationNameNormalizer(StringNormalizer organizationNameNormalizer); void setCountryNameNormalizer(StringNormalizer countryNameNormalizer); void setCountryCodeNormalizer(StringNormalizer countryCodeNormalizer);  }