Esempio n. 1
0
        public void Class_Nested_InterfaceExtraction()
        {
            InterfaceDetail ii = ExtractNestedInterface(Subjects.One, "ParentClass", "INestedPublicInterface");

            Assert.AreEqual(Status.Present, ii.Status);
            Assert.AreEqual("public interface INestedPublicInterface", ii.ToString());
        }
        public void Interface_Extraction()
        {
            InterfaceDetail ii = ExtractInterface(Subjects.One, "IFoo");

            Assert.AreEqual(Status.Present, ii.Status);
            Assert.AreEqual("public interface IFoo", ii.ToString());
        }