Created
June 2, 2014 14:50
-
-
Save philippdolder/7e2ea55a256e834fe017 to your computer and use it in GitHub Desktop.
Possible with R# Search&Replace Pattern?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace SearchPattern | |
{ | |
using NUnit.Framework; | |
[TestFixture] | |
public class SearchPatternFakeTest | |
{ | |
private Worker testee; | |
[SetUp] | |
public void SetUp() | |
{ | |
this.testee = new Worker(); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace SearchPattern | |
{ | |
using FakeItEasy; | |
using NUnit.Framework; | |
[TestFixture] | |
public class SearchPatternFakeTest | |
{ | |
private Worker testee; | |
private IInstructionProcessor instructionProcessor; | |
private IFileSystem fileSystem; | |
private ILogger logger; | |
private InstructionFileLoader instructionFileLoader; | |
private InstructionPreprocessorSelector instructionPreprocessorSelector; | |
private ProcessingReportGenerator processingReportGenerator; | |
private IVersion version; | |
[SetUp] | |
public void SetUp() | |
{ | |
this.instructionProcessor = A.Fake<IInstructionProcessor>(); | |
this.fileSystem = A.Fake<IFileSystem>(); | |
this.logger = A.Fake<ILogger>(); | |
this.instructionFileLoader = A.Fake<InstructionFileLoader>(); | |
this.instructionPreprocessorSelector = A.Fake<InstructionPreprocessorSelector>(); | |
this.processingReportGenerator = A.Fake<ProcessingReportGenerator>(); | |
this.version = A.Fake<IVersion>(); | |
this.testee = new Worker( | |
this.instructionProcessor, | |
this.fileSystem, | |
this.logger, | |
this.instructionFileLoader, | |
this.instructionPreprocessorSelector, | |
this.processingReportGenerator, | |
this.version); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment