@Test
public void processPaymentSuccess() {

    when(paymentRepository.save(payment)).thenReturn(payment);
    when(orderRepository.findOrderById(ORDER_ID)).thenReturn(order);
    paymentService.processPayment(payment);
    verify(restTemplate).postForLocation(ORDER_COMPLETE_UPDATER + "/api/orders", order);
}