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"); }
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"); }