示例#1
0
        public void Test1()
        {
            var configuration = AutoMapperModule.CreateMapperConfiguration <MatchProfile>();

            // Act/Assert
            configuration.AssertConfigurationIsValid();
        }
示例#2
0
        public void isValid()
        {
            // Arrange
            var configuration = AutoMapperModule.CreateMapperConfiguration <QuestionProfile>();

            // Act/Assert
            configuration.AssertConfigurationIsValid();
        }
        public void AutoMapper_Configuration_IsValid()
        {
            // Arrange
            var configuration = AutoMapperModule.CreateMapperConfiguration();

            // Act/Assert
            configuration.AssertConfigurationIsValid();
        }
        public void Test1()
        {
            // Arrange
            var configuration = AutoMapperModule.CreateMapperConfiguration <SurveyUserProfile>();


            // Act
            configuration.AssertConfigurationIsValid();
        }
示例#5
0
        public void IsValid()
        {
            // Arange
            var configuration1 = AutoMapperModule.CreateMapperConfiguration <OptionProfile>();
            var configuration2 = AutoMapperModule.CreateMapperConfiguration <QuestionProfile>();

            //var configuration = AutoMapperModule.CreateMapperConfiguration<>();
            // Act/Assert
            configuration1.AssertConfigurationIsValid();
            configuration2.AssertConfigurationIsValid();
        }
        public void IsValid()
        {
            var configuration = AutoMapperModule.CreateMapperConfiguration <QuestionProfile>();

            configuration.AssertConfigurationIsValid();
        }