public void WorkflowStatesCollectionNotNull() { //assign var sut = new WorkflowStateCollection<string,Customer>(); //assert sut.ShouldNotBeNull(); }
public void WorkflowStateCollectionAddNew() { //assign var sut = new WorkflowStateCollection<string,Customer>(); var state = new WorkflowState<string,Customer>("state1") {Description ="Desc" }; //act sut.Add(state); //assert sut.Count.ShouldBe(1); }