public void OnImportsSatisfiedExpectsContextsAddedForSavedWorkspaces()
{
lock (syncroot)
{
CreateFullExportsAndVm();
var activetx =
_mainViewModel.Items.ToList()
.First(i => i.WorkSurfaceViewModel.WorkSurfaceContext == WorkSurfaceContext.Workflow);
var expectedKey = WorkSurfaceKeyFactory.CreateKey(WorkSurfaceContext.Workflow, _firstResourceID,
_serverID);
Assert.IsTrue(expectedKey.ResourceID.Equals(activetx.WorkSurfaceKey.ResourceID) && expectedKey.ServerID.Equals(activetx.WorkSurfaceKey.ServerID));
}
}