예제 #1
0
        [Test] public void ChangesNotMadeInCopy()
        {
            var copy = (ApplicationUnderTest)applicationUnderTest.Copy();

            applicationUnderTest.AddNamespace("fitnesse.unitTest.engine");
            applicationUnderTest = copy;
            CheckTypeNotFound("SampleClass");
        }
        [Test] public void ChangesNotMadeInCopy()
        {
            var copy = (ApplicationUnderTest)applicationUnderTest.Copy();

            applicationUnderTest.AddNamespace(typeof(SampleClass).Namespace);
            CheckTypeFound <SampleClass>("SampleClass");
            applicationUnderTest = copy;
            CheckTypeNotFound("SampleClass");
        }