Esempio n. 1
0
 public void WorkflowStatesCollectionNotNull()
 {
     //assign
     var sut = new WorkflowStateCollection<string,Customer>();
     //assert
     sut.ShouldNotBeNull();
 }
Esempio n. 2
0
 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);
 }