public void Verify_AreEqual_WithDifferentObjects_ReturnsFalse()
        {
            // Arrange
            var mapper = new EpisodeConceptFirstAppearanceMapper();
            var model  = EpisodeConceptFirstAppearancesMockingSetup.DoMockingSetupForEpisodeConceptFirstAppearanceModel(1);
            var entity = EpisodeConceptFirstAppearancesMockingSetup.DoMockingSetupForEpisodeConceptFirstAppearance(2);
            // Act
            var result = mapper.AreEqual(model.Object, entity.Object);

            // Assert
            Assert.False(result);
        }
        public void Verify_MapToModelLite_AssignsLiteOnlyEpisodeConceptFirstAppearanceProperties()
        {
            // Arrange
            var mapper = new EpisodeConceptFirstAppearanceMapper();
            var entity = EpisodeConceptFirstAppearancesMockingSetup.DoMockingSetupForEpisodeConceptFirstAppearance();
            // Act
            var model = mapper.MapToModelLite(entity.Object);

            // Assert
            // <None>
            // Related Objects
            Assert.Equal(entity.Object.EpisodeId, model.EpisodeId);
            Assert.Equal(entity.Object.ConceptId, model.ConceptId);
        }
        public void Verify_MapToModelListingExtension_CallsMapToModel()
        {
            // Arrange
            var mockMapper = new Mock <EpisodeConceptFirstAppearanceMapper>();

            mockMapper.Setup(x => x.MapToModelListing(It.IsAny <IEpisodeConceptFirstAppearance>(), It.IsAny <int>()));
            var mockEntity = EpisodeConceptFirstAppearancesMockingSetup.DoMockingSetupForEpisodeConceptFirstAppearance(1);

            EpisodeConceptFirstAppearanceMapperExtensions.OverrideMapper(mockMapper.Object);
            // Act
            mockEntity.Object.MapToModelListing();
            // Assert
            mockMapper.Verify(x => x.MapToModelListing(It.IsAny <IEpisodeConceptFirstAppearance>(), It.IsAny <int>()), Times.Once);
        }