//package com.sw.mes.store;
//
//import com.sw.mes.core.api.system.AccessoryFeignClients;
//import com.sw.mes.core.api.system.YbFeignClients;
//import com.sw.mes.core.dto.ApplyAccessoryData;
//import com.sw.mes.core.dto.MaterialModelDto;
//import com.sw.mes.core.response.Result;
//import lombok.extern.slf4j.Slf4j;
//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;
//
//
//@Slf4j
//@RunWith(SpringRunner.class)
//@SpringBootTest(classes = MesStoreServerApplication.class)
//public class UnitTest {
//
//    @Autowired
//    private YbFeignClients ybFeignClients;
//
//    @Autowired
//    private AccessoryFeignClients accessoryFeignClients;
//
//    @Test
//    public void m() throws Exception {
//        Result<MaterialModelDto> materialByCode = ybFeignClients.getMaterialByCode("500401060501");
//        System.out.println(materialByCode.getData());
//    }
//
//    @Test
//    public void m1() throws Exception {
//        Result<Void> voidResult = accessoryFeignClients.applyAccessoryFeedback(new ApplyAccessoryData());
//        System.out.println(voidResult.getCode());
//    }
//}
//
