public void Verify_MapToModelLite_AssignsLiteOnlyPersonProperties() { // Arrange var mapper = new PersonMapper(); var entity = PeopleMockingSetup.DoMockingSetupForPerson(); // Act var model = mapper.MapToModelLite(entity.Object); // Assert Assert.Equal(entity.Object.Hometown, model.Hometown); Assert.Equal(entity.Object.Country, model.Country); Assert.Equal(entity.Object.Email, model.Email); Assert.Equal(entity.Object.Website, model.Website); Assert.Equal(entity.Object.BirthDate, model.BirthDate); Assert.Equal(entity.Object.DeathDate, model.DeathDate); // Related Objects Assert.Equal(entity.Object.PrimaryImageFileId, model.PrimaryImageFileId); Assert.Equal(entity.Object.GenderId, model.GenderId); }