Ejemplo n.º 1
0
 protected override void Arrange()
 {
     base.Arrange();
     base.Act();
     Counter.Stub(x => x.Count).Return(2);
     TimpexPredicate.Stub(x => x.Matches(Counter)).Return(false);
     CounterPrinter.Stub(x => x.Print(Counter)).Return("2");
 }
Ejemplo n.º 2
0
 protected override void Arrange()
 {
     base.Arrange();
     base.Act();
     Counter.Stub(x => x.Count).Return(3);
     TimpexPredicate.Stub(x => x.Matches(Counter)).Return(false);
     HandlerBase.Stub(x => x.HandleWordBasedOnCounter(Counter)).Return(PexWord);
     ActualWord.Stub(x => x.Value()).Return("tim");
     WordAndCountPrinter.Stub(x => x.Print(Counter, ActualWord)).Return("tim 3");
 }