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