### Question:
DefaultWirecardPaymentModeService implements WirecardPaymentModeService { @Override public PaymentModeModel getPaymentModeByCode(String code) { return getPaymentModeService().getPaymentModeForCode(code); }  @Override PaymentModeModel getPaymentModeByCode(String code); @Override void storePaymentMode(AbstractOrderModel abstractOrderModel, PaymentModeModel paymentModeModel); @Required void setModelService(ModelService modelService); @Required void setPaymentModeService(PaymentModeService paymentModeService);  }### Answer:
@Test public void getPaymentModeByCodeTest() { PaymentModeModel paymentModeModel = wirecardPaymentModeService.getPaymentModeByCode(PAYPAL); assertEquals("The paymentModeModel is not correct", paymentModeModel, this.paymentModeModel); }