// package com.tzld.piaoquan.ad.engine.service;
//
// import com.google.common.collect.ImmutableMap;
// import com.tzld.piaoquan.ad.engine.server.Application;
// import com.tzld.piaoquan.ad.engine.service.feature.FeatureService;
// import com.tzld.piaoquan.recommend.feature.model.feature.FeatureKeyProto;
// import org.junit.jupiter.api.Test;
// import org.springframework.beans.factory.annotation.Autowired;
// import org.springframework.boot.test.context.SpringBootTest;
//
// import java.util.ArrayList;
// import java.util.List;
//
// @SpringBootTest(classes = Application.class)
// public class FeatureServiceTest {
//
//
//     @Autowired
//     private FeatureService featureService;
//
//     @Test
//     public void featureV3OptimizeTest() {
//
//         List<FeatureKeyProto> protos = new ArrayList<>();
//         protos.add(featureService.genWithKeyMap("o:%s:%s", "alg_videoid_feature", "10035427", ImmutableMap.of("videoid", "68781839")));
//         //
//         System.out.println(featureService.invokeFeatureService(protos));
//     }
//
//
// }
