ResMessageServiceImplTest.java
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.sy.service.impl;
import com.sy.logic.LiftBar;
import com.sy.model.LAND_BUSINEESTYPE_LIST_INFO;
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;
import java.util.List;
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;
private List<LAND_BUSINEESTYPE_LIST_INFO> list;
@Test
void checkManifestRelease() {
boolean re = resMessageService.checkManifestRelease(null,list);
logger.info("结果:"+re);
}
}