ExperiencedCharmLearnStrategy implements ICharmLearnStrategy { @Override public boolean isForgettable(BasicLearningModel group, Charm charm) { return group.isLearnedWithExperience(charm); }  @Override boolean isForgettable(BasicLearningModel group, Charm charm); @Override boolean isLearned(BasicLearningModel group, Charm charm); @Override void toggleLearned(BasicLearningModel group, Charm charm);  }
@Test public void charmsLearnedDuringCreationAreNotForgettable() throws Exception { configureLearnedDuringCreation(); assertThat(strategy.isForgettable(group, charm), is(false)); }
@Test public void charmsLearnedWhileExperiencedAreForgettable() throws Exception { configureLearnedWithExperience(); assertThat(strategy.isForgettable(group, charm), is(true)); }