use of no.stelar7.api.r4j.pojo.lol.staticdata.mastery.StaticMastery in project L4J8 by stelar7.
the class StaticTest method testMasterySingleOneFlag.
@Test
public void testMasterySingleOneFlag() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
EnumSet<MasteryDataFlags> dataFlags = EnumSet.of(MasteryDataFlags.ALL);
StaticMastery list = api.getMastery(Platform.EUW1, 6131, dataFlags, null, null);
Assert.assertTrue("ok?", list.getId() == 6131);
}
use of no.stelar7.api.r4j.pojo.lol.staticdata.mastery.StaticMastery in project L4J8 by stelar7.
the class StaticTest method testMasterySingle.
@Test
public void testMasterySingle() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
StaticMastery list = api.getMastery(6131);
Assertions.assertEquals(6131, list.getId());
}
use of no.stelar7.api.r4j.pojo.lol.staticdata.mastery.StaticMastery in project L4J8 by stelar7.
the class StaticTest method testMasteryList.
@Test
public void testMasteryList() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
Map<Integer, StaticMastery> list = api.getMasteries();
}
Aggregations