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()); }
public void Cannot_Add_Circumstance_When_Not_Initialized() { var insulin = new Insulin(); insulin.SetOwner(factories.Object); insulin.AddCircumstance(circumstance); }