@Test
 public void testDefaultFreePicksPredicate() throws Exception {
   Element templateElement = DocumentUtilities.read(xml).getRootElement();
   GenericMagicTemplate template = parser.parseTemplate(templateElement);
   assertTrue(
       template.canBuyFromFreePicks(
           DummyCharmUtilities.createCharm("TestCharm", "Group"))); // $NON-NLS-1$ //$NON-NLS-2$
 }
 @Test
 public void testIdExceptionInFreePicksPredicate() throws Exception {
   String customXml =
       "<magicTemplate>" //$NON-NLS-1$
           + "<freePicksPredicate defaultResponse=\"false\"><idException id=\"ExpectedId\"/></freePicksPredicate>" //$NON-NLS-1$
           + "<charmTemplate charmType=\"None\">" //$NON-NLS-1$
           + "<martialArts level=\"Mortal\"/></charmTemplate>" //$NON-NLS-1$
           + "<spellTemplate maximumSorceryCircle=\"None\" maximumNecromancyCircle=\"None\"/>" //$NON-NLS-1$
           + "</magicTemplate>"; //$NON-NLS-1$
   Element templateElement = DocumentUtilities.read(customXml).getRootElement();
   GenericMagicTemplate template = parser.parseTemplate(templateElement);
   assertFalse(
       template.canBuyFromFreePicks(
           DummyCharmUtilities.createCharm("BadId", "Group"))); // $NON-NLS-1$ //$NON-NLS-2$
   assertTrue(
       template.canBuyFromFreePicks(
           DummyCharmUtilities.createCharm("ExpectedId", "Group"))); // $NON-NLS-1$ //$NON-NLS-2$
 }