@Test public void shouldInsertShipmentInfo() throws Exception { ShipmentFileInfo shipmentFileInfo = new ShipmentFileInfo(); shipmentService.insertShipmentFileInfo(shipmentFileInfo); verify(shipmentRepository).insertShipmentFileInfo(shipmentFileInfo); }
public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentRepository.insertShipmentFileInfo(shipmentFileInfo); }
ShipmentService { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentRepository.insertShipmentFileInfo(shipmentFileInfo); } }
ShipmentService { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentRepository.insertShipmentFileInfo(shipmentFileInfo); }  }
ShipmentService { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentRepository.insertShipmentFileInfo(shipmentFileInfo); }  void save(ShipmentLineItem shipmentLineItem); void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo); List<ShipmentLineItem> getLineItems(long orderId); }
ShipmentService { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentRepository.insertShipmentFileInfo(shipmentFileInfo); }  void save(ShipmentLineItem shipmentLineItem); void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo); List<ShipmentLineItem> getLineItems(long orderId);  }