### Question:
MandatePopulator extends AbstractOrderAwarePaymentPopulator { @Override public void doPopulate(AbstractOrderModel source, Payment target) throws ConversionException { target.setMandate(calculateMandate(source, target)); }  @Override void doPopulate(AbstractOrderModel source, Payment target);  }### Answer:
@Test public void populateTest() { Payment payment = new Payment(); payment.setCreditorId(creditorId); mandatePopulator.doPopulate(abstractOrderModel, payment); assertNotNull("The Mandate is null", payment.getMandate()); }