@Test public void testGetSpell() { assertEquals(parchment1.getSpell(), spell1); assertEquals(parchment2.getSpell(), spell2); }
public Spell getSpell() { return ((ParchmentProperties) properties).getSpell(); }
Parchment extends ConsumableItem { public Spell getSpell() { return ((ParchmentProperties) properties).getSpell(); } }
Parchment extends ConsumableItem { public Spell getSpell() { return ((ParchmentProperties) properties).getSpell(); } Parchment(ParchmentProperties properties, int amount); }
Parchment extends ConsumableItem { public Spell getSpell() { return ((ParchmentProperties) properties).getSpell(); } Parchment(ParchmentProperties properties, int amount); @Override Item clone(); @Override void use(Character character); Spell getSpell(); }
Parchment extends ConsumableItem { public Spell getSpell() { return ((ParchmentProperties) properties).getSpell(); } Parchment(ParchmentProperties properties, int amount); @Override Item clone(); @Override void use(Character character); Spell getSpell();  }