Exemple #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="WithSubject{TSubject, TFakeEngine}"/> class.
 /// </summary>
 protected WithSubject()
 {
     ContextFactory.ChangeAllowedNumberOfBecauseBlocksTo(2);
 }
 protected WithSubjectAndFakes()
 {
     specificationController = new SpecificationController <TSubject, TFakeEngine>();
     ContextFactory.ChangeAllowedNumberOfBecauseBlocksTo(2);
 }
 static CoreObservations()
 {
     ContextFactory.ChangeAllowedNumberOfBecauseBlocksTo(int.MaxValue);
 }