### Question:
DefaultPaymentRefundPopulator implements Populator<ReturnRequestModel, Payment> { @Override public void populate(ReturnRequestModel source, Payment target) throws ConversionException { populateRequestedAmount(source, target); }  @Override void populate(ReturnRequestModel source, Payment target); @Required void setRefundAmountCalculationService(RefundAmountCalculationService refundAmountCalculationService); @Required void setWirecardTransactionService(WirecardTransactionService wirecardTransactionService);  }### Answer:
@Override @Test public void populateTest() { Payment target = new Payment(); paymentPopulator.populate(returnRequestModel, target); defaultPaymentRefundPopulator.populate(returnRequestModel, target); assertEquals("Entry mode is not ECOMMERCE", EntryMode.ECOMMERCE, target.getEntryMode()); assertEquals("Locale is not EN", "EN", target.getLocale()); assertNotNull("Requested amount is null", target.getRequestedAmount()); assertEquals("Requested amount value does not match", amountToRefund, target.getRequestedAmount().getValue()); assertEquals("Requested amount currency does not match", "EUR", target.getRequestedAmount().getCurrency()); }