private void AssertRune(CharacterRuneDto rune) { Assert.That(rune.Name, Is.Not.Null.Or.Empty); Assert.That(rune.Description, Is.Not.Null.Or.Empty); Assert.That(rune.DescriptionHtml, Is.Not.Null.Or.Empty); Assert.That(rune.Slug, Is.Not.Null.Or.Empty); Assert.That(rune.Type, Is.Not.Null.Or.Empty); Assert.NotZero(rune.Level); }
private CharacterSkillActiveRune MapRune(string characterId, CharacterRuneDto input) { return(new CharacterSkillActiveRune { Id = new CharacterSkillId(characterId, input.Slug), Name = input.Name, Level = input.Level, Character = EnumConversionHelper.CharacterKindFromString(characterId) }); }