public void SRMReferencedAssemblies()
        {
            string        tempDir        = TestHelper.CopyComplexSampleToTempFolder();
            string        path           = tempDir + @"\Microsoft.Sample.WCF.Client.exe";
            List <string> assembliesColl = new List <string>();

            ScenarioRunManager.GetReferencedAssemblies(path, assembliesColl);
            Assert.AreEqual <int>(11, assembliesColl.Count);
        }
        public void PMFindProxyMethodRequiringDynamicAssemblyResolution()
        {
            // Exercise the need of the proxy manager to
            // resolve assembly loads, by using assemblies that are not in the normal search path
            // as they are in a completely different folder.
            string tempDir = TestHelper.CopyComplexSampleToTempFolder();

            string        path           = tempDir + @"\Microsoft.Sample.WCF.Client.exe";
            List <string> assembliesColl = new List <string>();

            ScenarioRunManager.GetReferencedAssemblies(path, assembliesColl);
            this.assemblies = new string[assembliesColl.Count];
            assembliesColl.CopyTo(this.assemblies, 0);
            ProxyManager pm             = new ProxyManager(this.assemblies);
            MethodInfo   contractMethod = pm.GetContractMethod("http://microsoft.com/sample/wcf/ISampleService/Logon");

            pm.GetProxyMethod(contractMethod);
        }