@Test public void shouldGetPODWithLineItemsById() throws Exception { podService.getPodById(podId); verify(repository).getPOD(podId); }
public OrderPOD getPodById(Long podId) { return repository.getPOD(podId); }
PODService { public OrderPOD getPodById(Long podId) { return repository.getPOD(podId); } }
PODService { public OrderPOD getPodById(Long podId) { return repository.getPOD(podId); }  }
PODService { public OrderPOD getPodById(Long podId) { return repository.getPOD(podId); }  @Transactional OrderPOD createPOD(OrderPOD orderPOD); void updateOrderStatus(OrderPOD orderPod); void checkPermissions(OrderPOD orderPod); OrderPOD getPODByOrderId(Long orderId); List<OrderPODLineItem> getNPreviousOrderPodLineItems(String productCode,
                                                              Rnr requisition,
                                                              Integer n,
                                                              Date startDate); void insertPOD(OrderPOD orderPod); OrderPOD getPodById(Long podId); @Transactional OrderPOD save(OrderPOD orderPOD); @Transactional OrderPOD submit(Long podId, Long userId); void insertPODLineItem(OrderPODLineItem orderPodLineItem); }
PODService { public OrderPOD getPodById(Long podId) { return repository.getPOD(podId); }  @Transactional OrderPOD createPOD(OrderPOD orderPOD); void updateOrderStatus(OrderPOD orderPod); void checkPermissions(OrderPOD orderPod); OrderPOD getPODByOrderId(Long orderId); List<OrderPODLineItem> getNPreviousOrderPodLineItems(String productCode,
                                                              Rnr requisition,
                                                              Integer n,
                                                              Date startDate); void insertPOD(OrderPOD orderPod); OrderPOD getPodById(Long podId); @Transactional OrderPOD save(OrderPOD orderPOD); @Transactional OrderPOD submit(Long podId, Long userId); void insertPODLineItem(OrderPODLineItem orderPodLineItem);  }