static void Main(string[] args) {

            //we have four switches
            //l //m //h //c coverage

            //any other switch will assume nothing and will exit.
            DisplayHeader();

            if (args.Length == 0 || args[0].Length < 2) {
                DisplayHelp();
                Console.WriteLine("");
                Console.WriteLine("");
                Console.WriteLine("Invalid switch.");
                return;
            }
            string flag = args[0].Substring(1).ToLower();

            //just to see what was executed.
            OrderTests ot = new OrderTests();

            ot.VerifyGetOrderNoItemsNoProductsNoCustomer();

            if (flag == "l") {
                Console.WriteLine("Low Coverage Complete.");
                return;
            }

            ot.VerifyGetOrderWithItemsAndProductAndCustomer();
            if (flag == "m") {
                Console.WriteLine("Medium Coverage Complete.");
                return;
            }

            ot.VerifyGetAdditionalCoveragePart1();
            if (flag == "h") {
                Console.WriteLine("High Coverage Complete.");
                return;
            }

            ot.VerifyGetAdditionalCoveragePart2();
            Console.WriteLine("All Coverage Complete.");
        }
 private void buttonFour_Click(object sender, RoutedEventArgs e) {
     var ot = new OrderTests();
     ot.VerifyGetAdditionalCoveragePart2();
 }
 private void buttonTwo_Click(object sender, RoutedEventArgs e) {
     var ot = new OrderTests();
     ot.VerifyGetOrderWithItemsAndProductAndCustomer();
 }
 private void buttonOne_Click(object sender, RoutedEventArgs e) {
     var ot = new OrderTests();
     ot.VerifyGetOrderNoItemsNoProductsNoCustomer();
 }