public void Add_GivenAction_AddsActionToActions() { var test = new Workspace(); var stubAction = new Mock<IAction>(); test.Add(stubAction.Object); Assert.Contains(stubAction.Object, test.Actions); }
public void Contexts_Initially_IsEmpty() { var test = new Workspace(); Assert.Empty(test.Contexts); }