Exemplo n.º 1
0
 public void WorkflowTriggerCollectionNotNull()
 {
     //assign
     var sut = new WorkflowTriggerCollection<string>();
     //assert
     sut.ShouldNotBeNull();
 }
Exemplo n.º 2
0
 public void WorkflowTriggerCollectionAddNew()
 {
     var sut = new WorkflowTriggerCollection<string>();
     var t = new WorkflowTrigger<string>("trigger1");
     sut.Add(t);
     sut.Count.ShouldBe(1);
 }