import com.CWebApplication;
import com.hfkj.service.BsMerContractService;
import com.hfkj.service.BsMerService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

import javax.annotation.Resource;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = CWebApplication.class)
@WebAppConfiguration
public class ContractTest {

    @Resource
    private BsMerContractService contractService;

    @Test
    public void test() throws Exception {
        // contractService.addContract(10L);
    }
}
