Пример #1
0
        public void Init()
        {
            testFrameworks = new MockRegisteredTestFrameworks();

            testFramework = new MockTestFramework();
            project       = new MockCSharpProject();
            testFrameworks.AddTestFrameworkForProject(project, testFramework);
        }
        void CreateTestClass()
        {
            fakeClass                    = MockClass.CreateMockClassWithoutAnyAttributes();
            fakeTestFramework            = new MockTestFramework();
            fakeRegisteredTestFrameworks = new MockRegisteredTestFrameworks();
            fakeRegisteredTestFrameworks.AddTestFrameworkForProject(fakeClass.Project, fakeTestFramework);

            testClass = new TestClass(fakeClass, fakeRegisteredTestFrameworks);
        }