AddressTypeResourceConverter extends
		AbstractConverter<AddressTypeResource, AddressType> { @Override public AddressType convert(final AddressTypeResource source, final AddressType target) { target.setName(source.getName()); target.setAbbrName(source.getAbbrName()); return target; }  @Override AddressType convert(final AddressTypeResource source,
			final AddressType target); @Override AddressType convert(final AddressTypeResource source);  }
@Test public void testConvert() throws Exception { String name = "AddressN"; String abbrName = "AN"; AddressType expected = new AddressType(); expected.setName(name); expected.setAbbrName(abbrName); AddressTypeResource source = new AddressTypeResource(); source.setName(name); source.setAbbrName(abbrName); AddressType actual = unit.convert(source); assertEquals(expected, actual); }