审查视图

src/test/java/com/sy/service/impl/ResMessageServiceImplTest.java 1.1 KB
朱兆平 authored
1 2 3
package com.sy.service.impl;

import com.sy.logic.LiftBar;
4
import com.sy.model.LAND_BUSINEESTYPE_LIST_INFO;
朱兆平 authored
5 6 7 8 9 10 11 12 13 14
import com.sy.service.ResMessageService;
import com.sy.service.WeightCheckHandleService;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import org.junit.jupiter.api.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;
15 16
import java.util.List;
朱兆平 authored
17 18 19 20 21 22 23 24 25 26 27 28 29 30
import static org.junit.jupiter.api.Assertions.*;

@RunWith(SpringRunner.class)
@SpringBootTest
class ResMessageServiceImplTest {
    private static final Logger logger = Logger.getLogger(LiftBar.class);

    @Autowired
    WeightCheckHandleService weightCheckHandleService;

    //查询运单放行表
    @Autowired
    private ResMessageService resMessageService;
31 32
    private List<LAND_BUSINEESTYPE_LIST_INFO> list;
朱兆平 authored
33 34
    @Test
    void checkManifestRelease() {
35
        boolean re = resMessageService.checkManifestRelease(null,list);
朱兆平 authored
36 37 38
        logger.info("结果:"+re);
    }
}