public void ShouldMapToImplicitlySpecifiedType() { var sourceObject = new SourceObject { IntValue = 5, StringValue = "five", FirstValue = 10 }; var destinationObject = sourceObject.MapTo() as DestinationObject; Assert.NotNull(destinationObject); Assert.AreEqual(sourceObject.IntValue, destinationObject.IntValue); Assert.AreEqual(sourceObject.StringValue, destinationObject.StringValue); Assert.AreEqual(sourceObject.FirstValue, destinationObject.SecondValue); }