import com.lanfu.storehouse.MessageApplication;
import com.lanfu.storehouse.dao.mapper.PushMessageLogMapper;
import com.lanfu.storehouse.dto.req.wx.EntityVo;
import com.lanfu.storehouse.enums.InvoiceRecordTypeIntEnums;
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;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = {MessageApplication.class})//需要的啟動類
@WebAppConfiguration//web項目
public class Test001 {
@Autowired
private PushMessageLogMapper invoiceRecordMapper;
@Test
public void test000(){
EntityVo entityVo = new EntityVo("", "", InvoiceRecordTypeIntEnums.descOf(1), "藍服控股", "1.00" + "元", "");
System.out.println("entityVo = " + entityVo);
}
}