public void GetAllCards_Controller()
        {
            const int Card_COUNT = 10;

            var queryObject = new CardQuery() { };
            var testElement = MockingTools.CreateBasicSetup(Card_COUNT);

            var result = testElement.card_controller.Get(queryObject);

            Assert.AreEqual(Card_COUNT, result.Count());
        }
        public void GetCardById_Controller()
        {
            const int Card_COUNT = 10;

            var queryObject = new CardQuery() { CardId = 1 };

            var testElement = MockingTools.CreateBasicSetup(Card_COUNT);

            var result = testElement.card_controller.Get(queryObject);

            Assert.AreEqual(1, result.Count());
            Assert.AreEqual(result.ElementAt(0).CardId, 1);
        }
        public void GetCardByName_Controller()
        {
            const int Card_COUNT = 10;
            string Card_NAME = MockingTools.CreateCardName(1);

            var queryObject = new CardQuery() { Name = Card_NAME };

            var testElement = MockingTools.CreateBasicSetup(Card_COUNT);
            var result = testElement.card_controller.Get(queryObject);

            Assert.AreEqual(1, result.Count());
            Assert.AreEqual(result.ElementAt(0).Name, Card_NAME);
        }