public void SupportsParentNames() { var bob = CharacterTestTemplates.AverageBob(); var context = new CharacterContext(bob); Assert.Equal("Bob's Father", context.GetValue <string>("character-father-name")); Assert.Equal("Bob's Mother", context.GetValue <string>("character-mother-name")); }
public void SupportsPronounsForCharacter() { var bob = CharacterTestTemplates.AverageBob(); var context = new CharacterContext(bob); Assert.Equal("he", context.GetValue <string>("pronoun")); Assert.Equal("his", context.GetValue <string>("possessivepronoun")); }
public void CanGetTheCharacterSheet() { var bob = CharacterTestTemplates.AverageBob(); var context = new CharacterContext(bob); Assert.Equal(bob, context.GetValue <CharacterSheet>("charactersheet")); }