@Test public void mapV31() { AddressV3 address = createV31(); mapper.map(address); assertThat(address.getAddressLines().size(), is(2)); assertThat(address.getAddressLines().iterator().next(), is("Samplestreet 1")); assertThat(address.getAddressLines(), hasItem(" ")); assertThat(address.getCity().getZipCode(), is("12345")); assertThat(address.getCity().getCityName(), is("Samplecity")); }
public void map(Object object) { map(object, new DefaultVersionContext(object)); }
CompatibilityMapper { public void map(Object object) { map(object, new DefaultVersionContext(object)); } }
CompatibilityMapper { public void map(Object object) { map(object, new DefaultVersionContext(object)); } CompatibilityMapper(VersionTypeFactory factory); }
CompatibilityMapper { public void map(Object object) { map(object, new DefaultVersionContext(object)); } CompatibilityMapper(VersionTypeFactory factory); void map(Object object); void map(Object object, DefaultVersionContext context); }
CompatibilityMapper { public void map(Object object) { map(object, new DefaultVersionContext(object)); } CompatibilityMapper(VersionTypeFactory factory); void map(Object object); void map(Object object, DefaultVersionContext context);  }