public void Verify_MapToModelListing_AssignsListingOnlyLocationProperties() { // Arrange var mapper = new LocationMapper(); var entity = LocationsMockingSetup.DoMockingSetupForLocation(); // Act var model = mapper.MapToModelListing(entity.Object); // Assert Assert.Equal(entity.Object.StartYear, model.StartYear); // Related Objects Assert.Equal(entity.Object.FirstIssueAppearanceId, model.FirstIssueAppearanceId); Assert.Equal(entity.Object.PrimaryImageFileId, model.PrimaryImageFileId); // Return Entity }