public void DemonstrateAccessingAMsmqTestControllerConfigElement()
        {
            MessageQueueConfigurationElement configElement = BenchTestController.GetTestController <MsmqTestController>()
                                                             .GetConfigurationElement(BenchConfigurationSettings.IntegrationTest1MessageQueueName);

            Assert.AreEqual(@".\private$\IntegrationTestsMsmqUtilityUnitTestQueue1", configElement.Path);
        }
        public void DemonstrateAccessingAProcessTestControllerConfigElement()
        {
            ProcessConfigurationElement configElement = BenchTestController.GetTestController <ProcessTestController>()
                                                        .GetConfigurationElement(BenchConfigurationSettings.ProcessNameNotepad);

            Assert.AreEqual(@"C:\Windows\System32\notepad.exe", configElement.PathToExe);
            Assert.AreEqual("5000", configElement.StartDelayInMilliseconds);

            Thread.Sleep(5000); //Wait for processes to start so that they can be shutdown during Cleanup();
        }
        public void DemonstrateGettingAListOfTestMessageQueues()
        {
            List <MessageQueueConfigurationElement> messageQueues = BenchTestController.GetTestController <MsmqTestController>().MessageQueues;

            Assert.AreEqual(3, messageQueues.Count);
        }