Exemplo n.º 1
0
        public void ProducerExtractsTest()
        {
            //ARRANGE
            var extracts = new List <Extract>();

            //ACT
            extracts = (List <Extract>)ProducerController.GetProducerExtracts("0000000000VU7TG0000000000");

            //ASSERT
            foreach (Extract extract in extracts)
            {
                Assert.IsNotNull(extract);
                Assert.IsTrue(extract.IsValid());
            }

            //OUTPUT
            foreach (Extract extract in extracts)
            {
                Console.WriteLine("Extract: " + extract.Name);
                Console.WriteLine("-----------------------");
            }
        }