use of no.stelar7.api.r4j.pojo.lol.staticdata.rune.StaticRune in project L4J8 by stelar7.
the class StaticTest method testRuneSingle.
@Test
public void testRuneSingle() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
StaticRune rune = api.getRune(5023);
Assertions.assertEquals(5023, rune.getId(), "missing id?");
Assertions.assertNotNull(rune.getStats(), "missing stats?");
Assertions.assertNotNull(rune.getDescription(), "missing desc?");
Assertions.assertNotNull(rune.getTags(), "missing tags?");
Assertions.assertNotNull(rune.getImage(), "missing image?");
Assertions.assertNotNull(rune.getRune(), "missing rune?");
Assertions.assertNotNull(rune.getName(), "missing name?");
}
Aggregations