예제 #1
0
 protected override void Arrange()
 {
     base.Arrange();
     base.Act();
     WordPrinterWrapper.Stub(x => x.Print(TimWord)).Return("timpex");
 }
예제 #2
0
 protected override void Act()
 {
     Sut = new WordPrinterWrapper <Word>(InnerPrinter);
 }
예제 #3
0
 public PexPrinter(Word word,WordPrinterWrapper<Word> timPrinter)
 {
     _timPrinter = timPrinter;
     _pexWord = word;
 }
예제 #4
0
 public TimAndPexPrinter(Word word,WordPrinterWrapper<Word> timPrinter)
 {
     _timPrinter = timPrinter;
     _timpexWord = word;
 }
예제 #5
0
파일: New_Act.cs 프로젝트: KnutHjelvik/demo
 protected override void Act()
 {
     Sut = new WordPrinterWrapper<Word>(InnerPrinter);
 }
예제 #6
0
 public TimPrinter(Word word,WordPrinterWrapper<Word> timPrinter)
 {
     _timPrinter = timPrinter;
     _timWord = word;
 }