public void TestInitialize()
 {
     IList<string> machines = new List<string> { Environment.MachineName, "AnotherMachine" };
     QueueManager = Substitute.For<IQueueManagerAsync>();
     Explorer = Substitute.For<IQueueExplorerViewModel>();
     Network = Substitute.For<INetworkOperations>();
     Model = new Desktop.Shell.QueueCreationViewModel(QueueManager, Explorer, Network);
     Network.GetMachines().Returns(Task.FromResult(machines));
 }
        public void TestInitialize()
        {
            IList <string> machines = new List <string> {
                Environment.MachineName, "AnotherMachine"
            };

            QueueManager = Substitute.For <IQueueManagerAsync>();
            Explorer     = Substitute.For <IQueueExplorerViewModel>();
            Network      = Substitute.For <INetworkOperations>();
            Model        = new Desktop.Shell.QueueCreationViewModel(QueueManager, Explorer, Network);
            Network.GetMachines().Returns(Task.FromResult(machines));
        }