@Test public void shouldInsertShipmentFileInfo() throws Exception { ShipmentFileInfo shipmentFileInfo = new ShipmentFileInfo(); shipmentRepository.insertShipmentFileInfo(shipmentFileInfo); verify(shipmentMapper).insertShipmentFileInfo(shipmentFileInfo); }
public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentMapper.insertShipmentFileInfo(shipmentFileInfo); }
ShipmentRepository { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentMapper.insertShipmentFileInfo(shipmentFileInfo); } }
ShipmentRepository { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentMapper.insertShipmentFileInfo(shipmentFileInfo); } @Autowired  ShipmentRepository(ShipmentMapper shipmentMapper); }
ShipmentRepository { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentMapper.insertShipmentFileInfo(shipmentFileInfo); } @Autowired  ShipmentRepository(ShipmentMapper shipmentMapper); void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo); void save(ShipmentLineItem shipmentLineItem); List<ShipmentLineItem> getLineItems(Long orderId); }
ShipmentRepository { public void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo) { shipmentMapper.insertShipmentFileInfo(shipmentFileInfo); } @Autowired  ShipmentRepository(ShipmentMapper shipmentMapper); void insertShipmentFileInfo(ShipmentFileInfo shipmentFileInfo); void save(ShipmentLineItem shipmentLineItem); List<ShipmentLineItem> getLineItems(Long orderId);  }