Example #1
0
        public AppendMethodToTestWriterTest()
        {
            var saveRecordings = new SaveRecordingsToMemory();

            RecordingServices.RecordingSaver = saveRecordings;
            fileSystem = new CodeGenerationFileSystem();
            testWriter = new TestWriter(saveRecordings, fileSystem);
        }
Example #2
0
        public StaticMethodTestWriterTest()
        {
            var saveRecordings = new SaveRecordingsToMemory();

            RecordingServices.RecordingSaver = saveRecordings;
            fileSystem = new CodeGenerationFileSystem();
            testWriter = new TestWriter(saveRecordings, fileSystem);

            we_have_generated_a_test_class();
        }
Example #3
0
        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();
        }