public void CloseOtherWorkspacesTest()
        {
            WorkspaceManager target = new WorkspaceManager();
            MockWorkSpace    mws1   = new MockWorkSpace(1);
            MockWorkSpace    mws2   = new MockWorkSpace(2);
            MockWorkSpace    mws3   = new MockWorkSpace(3);

            target.Workspaces.Add(mws1);
            target.Workspaces.Add(mws2);
            target.Workspaces.Add(mws3);
            target.SetActiveWorkspace(mws2);
            target.CloseOtherWorkspaces();
            Assert.AreEqual(1, target.Workspaces.Count);
            Assert.IsTrue(mws1.Disposed);
            Assert.IsFalse(mws2.Disposed);
            Assert.IsTrue(mws3.Disposed);
        }