### Question:
OrderServiceImpl implements OrderService { @Override public String placeOrder(OrderInsertReq orderInsertReq, String buyerId) { checkParam(orderInsertReq, ExpCodeEnum.ORDER_INSERT_REQ_NULL); orderInsertReq.setUserId(buyerId); OrderProcessContext<String> context = buildContext(null, buyerId, orderInsertReq, ProcessReqEnum.PlaceOrder); processEngine.process(context); return context.getOrderProcessRsp(); }  @Override List<OrdersEntity> findOrdersForBuyer(OrderQueryReq orderQueryReq, String buyerId); @Override List<OrdersEntity> findOrdersForSeller(OrderQueryReq orderQueryReq, String sellerId); @Override List<OrdersEntity> findOrdersForAdmin(OrderQueryReq orderQueryReq); @Override String placeOrder(OrderInsertReq orderInsertReq, String buyerId); @Override String pay(String orderId, String userId); @Override void cancelOrder(String orderId, String userId); @Override void confirmDelivery(String orderId, String expressNo, String userId); @Override void confirmReceive(String orderId, String userId);  }### Answer:
@Test public void placeOrder() throws Exception { OrderInsertReq orderInsertReq = new OrderInsertReq(); orderInsertReq.setPayModeCode(PayModeEnum.ALIPAY.getCode()); orderInsertReq.setLocationId("1"); Map<String, Integer> prodIdCountMap = Maps.newHashMap(); prodIdCountMap.put("1",1); prodIdCountMap.put("2",10); prodIdCountMap.put("3",20); orderInsertReq.setProdIdCountMap(prodIdCountMap); System.out.println(orderService.placeOrder(orderInsertReq, BUYER_ID)); }