@Test(expected=NullPointerException.class) public void build_NULL() { builder.build(null); }
public CermineAffiliation build(Element affNode) { Preconditions.checkNotNull(affNode); CermineAffiliation aff = new CermineAffiliation(); extractRawText(affNode, aff); extractInstitution(affNode, aff); extractCountry(affNode, aff); extractAddress(affNode, aff); return aff; }
CermineAffiliationBuilder { public CermineAffiliation build(Element affNode) { Preconditions.checkNotNull(affNode); CermineAffiliation aff = new CermineAffiliation(); extractRawText(affNode, aff); extractInstitution(affNode, aff); extractCountry(affNode, aff); extractAddress(affNode, aff); return aff; } }
CermineAffiliationBuilder { public CermineAffiliation build(Element affNode) { Preconditions.checkNotNull(affNode); CermineAffiliation aff = new CermineAffiliation(); extractRawText(affNode, aff); extractInstitution(affNode, aff); extractCountry(affNode, aff); extractAddress(affNode, aff); return aff; }  }
CermineAffiliationBuilder { public CermineAffiliation build(Element affNode) { Preconditions.checkNotNull(affNode); CermineAffiliation aff = new CermineAffiliation(); extractRawText(affNode, aff); extractInstitution(affNode, aff); extractCountry(affNode, aff); extractAddress(affNode, aff); return aff; }  CermineAffiliation build(Element affNode); }
CermineAffiliationBuilder { public CermineAffiliation build(Element affNode) { Preconditions.checkNotNull(affNode); CermineAffiliation aff = new CermineAffiliation(); extractRawText(affNode, aff); extractInstitution(affNode, aff); extractCountry(affNode, aff); extractAddress(affNode, aff); return aff; }  CermineAffiliation build(Element affNode);  }