CreateNavigator() public method

public CreateNavigator ( object data, Type pathType ) : INavigator
data object
pathType System.Type
return INavigator
Ejemplo n.º 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);
        }