Exemplo n.º 1
0
        public void ProducerRequestTest()
        {
            //ARRANGE
            var producers = new List <Producer>();

            //ACT
            producers = (List <Producer>)ProducerController.GetProducers();

            //ASSERT
            Assert.IsNotNull(producers);
            Assert.IsTrue(producers.Count > 0);

            //OUTPUT
            foreach (Producer producer in producers)
            {
                Console.WriteLine("Producer: " + producer.Name);
            }

            Console.WriteLine("Producer Count: " + producers.Count);
        }