/** Test the SPELLLISTCAST sub-tag of the SPELLLIST token. */ public void testSpellListCastToken() { PlayerCharacter character = new PlayerCharacter(); character.setRace(human); character.setStat(cha, 12); character.calcActiveBonuses(); character.incrementClassLevel(1, arcaneClass, true); SpellListCastToken token = new SpellListCastToken(); assertEquals( "testSpellListCastToken(1lv TA)", "2", token.getToken("SPELLLISTCAST.0.1", character, null)); }