@Test public void shouldNotSetShopperWebformReplyWhenNull() { when(orderStatusEventMock.getShopperWebformRefundDetails()).thenReturn(null); final OrderNotificationMessage result = testObj.convert(paymentServiceMock); assertNull(result.getWebformRefundReply()); verify(responseTransformerHelperMock, never()).buildWebformRefundReply(any()); }
@Override public OrderNotificationMessage convert(final PaymentService source) throws ConversionException { return convert(source, new OrderNotificationMessage()); }
OrderModificationRequestConverter implements Converter<PaymentService, OrderNotificationMessage> { @Override public OrderNotificationMessage convert(final PaymentService source) throws ConversionException { return convert(source, new OrderNotificationMessage()); } }
OrderModificationRequestConverter implements Converter<PaymentService, OrderNotificationMessage> { @Override public OrderNotificationMessage convert(final PaymentService source) throws ConversionException { return convert(source, new OrderNotificationMessage()); }  }
OrderModificationRequestConverter implements Converter<PaymentService, OrderNotificationMessage> { @Override public OrderNotificationMessage convert(final PaymentService source) throws ConversionException { return convert(source, new OrderNotificationMessage()); }  @Override OrderNotificationMessage convert(final PaymentService source); @Override OrderNotificationMessage convert(final PaymentService source, final OrderNotificationMessage target); @Required void setServiceResponseTransformerHelper(final ServiceResponseTransformerHelper serviceResponseTransformerHelper); }
OrderModificationRequestConverter implements Converter<PaymentService, OrderNotificationMessage> { @Override public OrderNotificationMessage convert(final PaymentService source) throws ConversionException { return convert(source, new OrderNotificationMessage()); }  @Override OrderNotificationMessage convert(final PaymentService source); @Override OrderNotificationMessage convert(final PaymentService source, final OrderNotificationMessage target); @Required void setServiceResponseTransformerHelper(final ServiceResponseTransformerHelper serviceResponseTransformerHelper);  }