Esempio n. 1
0
        public void Dispose_ClosesUpgradeLayer()
        {
            var config            = new MogmogConfiguration();
            var http              = new HttpClient();
            var connectionManager = new MogmogInteropConnectionManager(config, http);

            connectionManager.Dispose();
            var processes = Process.GetProcessesByName("Mogmog.FFXIV.UpgradeLayer");

            Assert.IsTrue(processes.Length == 0, "Expected empty array, got {0}", string.Join(",", processes.Select((process) => process.ProcessName)));
        }
Esempio n. 2
0
 public void TearDown()
 {
     connectionManager.Dispose();
     http.Dispose();
 }