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