public AppendMethodToTestWriterTest() { var saveRecordings = new SaveRecordingsToMemory(); RecordingServices.RecordingSaver = saveRecordings; fileSystem = new CodeGenerationFileSystem(); testWriter = new TestWriter(saveRecordings, fileSystem); }
public StaticMethodTestWriterTest() { var saveRecordings = new SaveRecordingsToMemory(); RecordingServices.RecordingSaver = saveRecordings; fileSystem = new CodeGenerationFileSystem(); testWriter = new TestWriter(saveRecordings, fileSystem); we_have_generated_a_test_class(); }
protected TestsWithFlavour() { Configuration.TestFlavour = GetFlavour(); var saveRecordings = new SaveRecordingsToMemory(); RecordingServices.RecordingSaver = saveRecordings; fileSystem = new CodeGenerationFileSystem(); testWriter = new TestWriter(saveRecordings, fileSystem); math = new SimpleMath(); we_have_generated_a_test_class(); }