//package com.prolog.cs.biz.outbound.service.impl;
//
//import com.alibaba.fastjson.JSON;
//import com.netflix.hystrix.strategy.concurrency.HystrixRequestContext;
//import com.prolog.cs.biz.outbound.Application;
//import com.prolog.cs.biz.outbound.model.dto.check.CheckConfirmDTO;
//import com.prolog.framework.authority.util.HystrixVarUtil;
//import org.assertj.core.util.Arrays;
//import org.junit.Before;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//import org.springframework.test.context.web.WebAppConfiguration;
//import org.springframework.test.web.servlet.MockMvc;
//import org.springframework.test.web.servlet.setup.MockMvcBuilders;
//import org.springframework.web.context.WebApplicationContext;
//
//import java.util.List;
//
//
///**
// * 基础测试类
// *
// * @author stylefeng
// * @Date 2017/5/21 16:10
// */
//@RunWith(SpringRunner.class)
//@SpringBootTest(classes = Application.class)
//@WebAppConfiguration
////@Transactional //打开的话测试之后数据可自动回滚
//public class InnerCheckJunit {
//
//    @Autowired
//    WebApplicationContext webApplicationContext;
//    @Autowired
//    PickTaskAppServiceImpl PickTaskAppServiceImpl;
//    @Autowired
//    InnerCheckServiceImpl InnerCheckServiceImpl;
//
//    protected MockMvc mockMvc;
//
//    @Before
//    public void setupMockMvc(){
//        mockMvc = MockMvcBuilders.webAppContextSetup(webApplicationContext).build();
//    }
//
//    @Before
//    public void initDatabase(){
//    }
//
//    @Test
//    public void outerCheckUnCheck() throws Exception {
//        CheckConfirmDTO checkConfirmDTO=new CheckConfirmDTO();
//        checkConfirmDTO.setBillGroupId("ZHY12000045");
//        checkConfirmDTO.setContainerCode("2000");
//        checkConfirmDTO.setStationCode("FH3-QX");
//        InnerCheckServiceImpl.containerCheckConfirm(checkConfirmDTO);
//    }
//
//    public static void main(String[] args) {
//        List list= Arrays.asList(new Integer[]{1,2,3,4});
//        list.forEach(x -> {
//            if((Integer) x==2){
//                return;
//            }
//            System.out.println(x);
//        });
//    }
//}
