コード例 #1
0
        [Test] public void ChangesNotMadeInCopy()
        {
            var copy = (ApplicationUnderTest)applicationUnderTest.Copy();

            applicationUnderTest.AddNamespace("fitnesse.unitTest.engine");
            applicationUnderTest = copy;
            CheckTypeNotFound("SampleClass");
        }
コード例 #2
0
        [Test] public void ChangesNotMadeInCopy()
        {
            var copy = (ApplicationUnderTest)applicationUnderTest.Copy();

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