IsoCountryCode { @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.SHORT_PREFIX_STYLE) .append("alpha2", this.iso3166Alpha2Code) .append("alpha3", this.iso3166Alpha3Code) .append("numeric", this.iso3166NumericCode) .toString(); } private  IsoCountryCode(String iso3166Alpha2Code, String iso3166Alpha3Code, int iso3166NumericCode); static CountryCodeBuilder alpha2Code(String alpha2Code); String getIso3166Alpha2Code(); String getIso3166Alpha3Code(); int getIso3166NumericCode(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void shouldCreateFranceCountryCode() { assertEquals("IsoCountryCode[alpha2=FR,alpha3=FRA,numeric=250]", IsoCountryCodeObjectMother.franceCountryCode().toString()); }