use of no.stelar7.api.l4j8.impl.builders.championmastery.ChampionMasteryBuilder in project L4J8 by stelar7.
the class ChampionMasteryTest method testChampionMasteryScore.
@Test
public void testChampionMasteryScore() {
Integer score = new ChampionMasteryBuilder().withPlatform(Constants.TEST_PLATFORM[0]).withSummonerId(Constants.TEST_SUMMONER_IDS[0]).getMasteryScore();
Assert.assertNotNull("no data", score);
}
use of no.stelar7.api.l4j8.impl.builders.championmastery.ChampionMasteryBuilder in project L4J8 by stelar7.
the class ChampionMasteryTest method testChampionMastery.
@Test
public void testChampionMastery() {
ChampionMastery mastery;
ChampionMasteryBuilder bu = new ChampionMasteryBuilder().withPlatform(Constants.TEST_PLATFORM[0]).withSummonerId(Constants.TEST_SUMMONER_IDS[0]);
mastery = bu.withChampionId(Constants.TEST_CHAMPION_IDS[0]).getChampionMastery();
assert mastery != null;
mastery = bu.withChampionId(Constants.TEST_CHAMPION_IDS[1]).getChampionMastery();
assert mastery != null;
}
Aggregations