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); }
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); }