public void MapObject() { var item = new MappingObjectTester() { Temp = this, }; var data = item.Map<MappingObjectTester>(); Assert.IsNotNull(data); Assert.AreEqual(item.Temp, data.Temp); }
public void MapNullObjectToString() { var item = new MappingObjectTester(); var data = item.Map<MappingStringTester>(); Assert.IsNotNull(data); Assert.AreEqual(item.Temp, data.Temp); }