public void CloseShowsPreviouslyVisibleControl() { workspace = new DeckWorkspace(); MockSmartPart c1 = new MockSmartPart(); MockSmartPart c2 = new MockSmartPart(); workspace.Show(c1); workspace.Show(c2); workspace.Close(c2); Assert.AreSame(c1, workspace.ActiveSmartPart); }