package com.xinxincaravan.caravan.vehicle.biz;

import com.xinxincaravan.caravan.vehicle.VehicleApplication;
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.SpringJUnit4ClassRunner;

import static org.junit.Assert.*;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes={VehicleApplication.class,VehicleWarningMsgBizTest.class})
public class VehicleWarningMsgBizTest {

    @Autowired
    private VehicleWarningMsgBiz vehicleWarningMsgBiz;

    @Test
    public void checkIfNeedWarn() {
        vehicleWarningMsgBiz.checkIfNeedWarn();
    }
}