public void ShouldReturnNameObject() { //assign IAttributeName nameStr = CharacterAttributeName.Strength; //assert nameStr.Name().Should().Be(new TextObj("STR")); }
public ITextObj DisplayText() => _name.Name().Append(new TextObj(": ")).Append(Score().AsText());