상속: IInterrogator
예제 #1
0
        public void CreateNavigator_Expected_XmlNavigator() {            
            StringInterrogator stringInterrogator = new StringInterrogator();

            INavigator navigator = stringInterrogator.CreateNavigator(XmlGiven(), typeof(XmlPath));

            Type expected = typeof(XmlNavigator);
            Type actual = navigator.GetType();

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void CreateMapper_Expected_XmlMapper() {         
            StringInterrogator stringInterrogator = new StringInterrogator();

            IMapper mapper = stringInterrogator.CreateMapper(XmlGiven());

            Type expected = typeof(XmlMapper);
            Type actual = mapper.GetType();

            Assert.AreEqual(expected, actual);
        }