protected override void Arrange() { base.Arrange(); base.Act(); WordPrinterWrapper.Stub(x => x.Print(TimWord)).Return("timpex"); }
protected override void Act() { Sut = new WordPrinterWrapper <Word>(InnerPrinter); }
public PexPrinter(Word word,WordPrinterWrapper<Word> timPrinter) { _timPrinter = timPrinter; _pexWord = word; }
public TimAndPexPrinter(Word word,WordPrinterWrapper<Word> timPrinter) { _timPrinter = timPrinter; _timpexWord = word; }
protected override void Act() { Sut = new WordPrinterWrapper<Word>(InnerPrinter); }
public TimPrinter(Word word,WordPrinterWrapper<Word> timPrinter) { _timPrinter = timPrinter; _timWord = word; }