use of no.stelar7.api.l4j8.pojo.staticdata.summonerspell.StaticSummonerSpell in project L4J8 by stelar7.
the class StaticTest method testSummonerSpellList.
@Test
public void testSummonerSpellList() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
EnumSet<SpellDataFlags> dataFlags = EnumSet.of(SpellDataFlags.ALL, SpellDataFlags.IMAGE);
Map<Integer, StaticSummonerSpell> list = api.getSummonerSpells(Platform.EUN1, dataFlags, null, null);
}
use of no.stelar7.api.l4j8.pojo.staticdata.summonerspell.StaticSummonerSpell in project L4J8 by stelar7.
the class StaticTest method testSummonerSpellSingle.
@Test
public void testSummonerSpellSingle() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
EnumSet<SpellDataFlags> dataFlags = EnumSet.of(SpellDataFlags.ALL, SpellDataFlags.IMAGE);
StaticSummonerSpell list = api.getSummonerSpell(Platform.EUW1, 21, dataFlags, null, null);
Assert.assertTrue("ok?", list.getId() == 21);
}
Aggregations