Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void Map_WhenInvoked_ShouldMapRightToLeft() { // Arrange var map = new Mapper<A, B>() .Map(e => e.Id, e => e.Identifier) .Map(e => e.Name, e => e.DisplayName); var b = fixture.Create<B>(); var a = new A(); // Act map.RightToLeft(b, a); // Assert Assert.Equal(a.Id, b.Identifier); Assert.Equal(a.Name, b.DisplayName); }