private void _addBasicCardProperties(JObject item, Archetype archetype) { _cardBuilder.AddBasicCardElements( item.Value <int>("id"), item.Value <string>("name"), item.Value <string>("desc"), item.Value <string>("type"), item.Value <string>("race"), item.Value <string>("image_url"), item.Value <string>("image_url_small"), archetype ); }
public void AddBasicCardElements_AllDataValid_ReturnsCard( int passCode, string name, string description, string type, string race, string imageUrl, string smallImageUrl) { _cardBuilder.AddBasicCardElements(passCode, name, description, type, race, imageUrl, smallImageUrl, _archetype); Assert.NotNull(_cardBuilder.Build()); }