WorldpayAddressEmailReversePopulator extends AddressReversePopulator { @Override public void populate(final AddressData source, final AddressModel target) throws ConversionException { super.populate(source, target); target.setEmail(source.getEmail()); }  @Override void populate(final AddressData source, final AddressModel target);  }
@Test public void testPopulateEmail() { when(addressDataMock.getEmail()).thenReturn(EMAIL_ADDRESS); testObj.populate(addressDataMock, addressModelMock); verify(addressModelMock).setEmail(EMAIL_ADDRESS); }