@BeforeAll static void initChampionGGAPI() {
webServer = new MockWebServer();
dispatcher = new MockDispatcher();
webServer.setDispatcher(dispatcher);
ChampionGGAPIFactory.BASE_URL = webServer.url("/").toString();
ChampionGGAPIFactory championGGAPIFactory = new ChampionGGAPIFactory(Constants.API_KEY, -1);
API = championGGAPIFactory.buildChampionGGAPI();
}
ChampionGGTest.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:java-champion-gg-wrapper
作者:
评论列表
文章目录