public void RemovingContextsRemovesThoseContextsFromActivities() { var board = new ActivityBoard(); ActivityContext context1 = board.AddNewContext("Context 1"); ActivityContext context2 = board.AddNewContext("Context 2"); board.AddSelectedContexts(context1, context2); Activity activity = Activity.FluentNew("New Activity") .AddToBoard(board); activity.AddContexts(context2); board.RemoveContext(context2); Assert.That(activity.ContextGuids, Is.Empty); }