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