public void NavigationViewModel_UpdateWorkspaces_DisconnectedLocalhostServer_LocalhostServerConnected()
{
//isolate UpdateWorkspaces as a functional unit
var viewModel = RefreshTestsSetup();
_reMockEnvironmentModel.Setup(c => c.CanStudioExecute).Returns(true);
//run unit
var connectControlSingletonMock = new Mock<IConnectControlSingleton>();
viewModel.UpdateWorkspaces(connectControlSingletonMock.Object);
//assert both localhost servers are connected
Assert.IsTrue(viewModel.ExplorerItemModels[0].Children[0].IsConnected, "Refresh does not autoconnect to localhost");
Assert.IsTrue(viewModel.ExplorerItemModels[0].Children[1].IsConnected, "Refresh does not autoconnect to localhost");
}