public void MappedPropertyManager_ToString_A_ReturnsAllItemsListedAsKeyValuePair() { propManager = new MapperSpy(new Item()); string expected = "MappedProperties: 'key:Property, value:Object'\n"; Assert.AreEqual(expected, propManager.ToString("a", null)); }
public void MappedPropertyManager_ToString_O_ReturnsOrigin() { propManager = new MapperSpy("abc"); string expected = "MapperSpy: Origin 'abc', OriginType 'System.String'"; Assert.AreEqual(expected, propManager.ToString("o", null)); }
public void MappedPropertyManager_ToString_G_ReturnsJustTypeName() { propManager = new MapperSpy(new Item()); Assert.AreEqual(typeof(MapperSpy).Name, propManager.ToString("g", null)); }