protected override void Arrange() { base.Arrange(); base.Act(); Counter.Stub(x => x.Count).Return(5); TimPredicate.Stub(x => x.Matches(Counter)).Return(true); PexPredicate.Stub(x => x.Matches(Counter)).Return(true); TimAndPexPrinter.Stub(x => x.Print()).Return("timpex 2"); }
protected override void Act() { Sut = new TimAndPexPrinter(TimWord,WordPrinterWrapper); }
protected override void Act() { Sut = new TimAndPexPrinter(TimWord,WordPrinterWrapper); }