public void AddPendulumMonsterCardElements_AllDataValid_ReturnsMonsterCardWithNotNullPendulumMonster( int passCode, string name, string description, string type, string race, string imageUrl, string smallImageUrl, string attack, string defence, int levelOrRank, string attribute, int scale) { _cardBuilder.AddBasicCardElements(passCode, name, description, type, race, imageUrl, smallImageUrl, _archetype); _cardBuilder.AddMonsterCardElements( attack, defence, levelOrRank, attribute); _cardBuilder.AddPendulumMonsterCardElements(scale); Assert.NotNull(_cardBuilder.Build().MonsterCard.PendulumMonsterCard); }
private void _addMonsterProperties(string type, Archetype archetype, JObject item) { _addBasicMonsterAttributesToCard(item); if (type.Contains("PENDULUM")) { _cardBuilder.AddPendulumMonsterCardElements(item.Value <int>("scale")); } if (type.Contains("LINK")) { _addLinkElementsToTheCard(item); } }