@Test public void doPopulateTest() { Payment payment = new Payment(); bankAccountPaymentPopulator.doPopulate(abstractOrderModel, payment); assertEquals("The Iban is not correct", iban, payment.getBankAccount().getIban()); assertEquals("The Bic is not correct", bic, payment.getBankAccount().getBic()); }
@Override public void doPopulate(AbstractOrderModel source, Payment target) throws ConversionException { target.setBankAccount(populateBankAccount(source)); }
BankAccountPaymentPopulator extends AbstractOrderAwarePaymentPopulator { @Override public void doPopulate(AbstractOrderModel source, Payment target) throws ConversionException { target.setBankAccount(populateBankAccount(source)); } }
BankAccountPaymentPopulator extends AbstractOrderAwarePaymentPopulator { @Override public void doPopulate(AbstractOrderModel source, Payment target) throws ConversionException { target.setBankAccount(populateBankAccount(source)); }  }
BankAccountPaymentPopulator extends AbstractOrderAwarePaymentPopulator { @Override public void doPopulate(AbstractOrderModel source, Payment target) throws ConversionException { target.setBankAccount(populateBankAccount(source)); }  @Override void doPopulate(AbstractOrderModel source, Payment target); }
BankAccountPaymentPopulator extends AbstractOrderAwarePaymentPopulator { @Override public void doPopulate(AbstractOrderModel source, Payment target) throws ConversionException { target.setBankAccount(populateBankAccount(source)); }  @Override void doPopulate(AbstractOrderModel source, Payment target);  }