示例#1
0
 public void Can_Add_Circumstance_When_Initialized()
 {
     var insulin = new Insulin();
     insulin.SetOwner(factories.Object);
     insulin.InitializeCircumstances(new List<Guid>());
     insulin.AddCircumstance(circumstance);
     var circumstances = insulin.Circumstances;
     Assert.AreSame(circumstance, circumstances.Single());
 }
示例#2
0
 public void Cannot_Add_Circumstance_When_Not_Initialized()
 {
     var insulin = new Insulin();
     insulin.SetOwner(factories.Object);
     insulin.AddCircumstance(circumstance);
 }