public void MapShouldAllowPropertyTransposing()
{
var john = new John { FirstName = "John", LastName = "Test" };
var simplePerson = BAM.BOOM.Map<John, SimplePerson>(john, (j) =>
{
return new
{
FullName = j.FirstName + " " + j.LastName
};
});
Assert.Equal(simplePerson.FullName, "John Test");
}