public void Verify_Config_True_Returned()
        {
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.True(result);
        }
        public void Verify_Config_Not_Correct_IdentityMessages_Body()
        {
            ConfigEntity.IdentityMessages[3].IdTypeValue = null;
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.False(result);
        }
        public void Verify_Config_Not_Correct_IdentityMessages_From()
        {
            ConfigEntity.IdentityMessages[1].IdTypeValue = "juk_777@@mail.ru";
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.False(result);
        }
        public void Verify_Config_Not_Correct_IdentityMessages_To()
        {
            ConfigEntity.IdentityMessages[0].IdTypeValue = "gus.guskovskij@@mail.ru";
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.False(result);
        }
        public void Verify_Config_Not_Correct_MailActions_Forward()
        {
            ConfigEntity.MailActions[3].ActTypeValue = "juk_777@@mail.ru";
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.False(result);
        }
        public void Verify_Config_Not_Correct_MailActions_CopyTo()
        {
            ConfigEntity.MailActions[2].ActTypeValue = null;
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.False(result);
        }
        public void Verify_Config_Not_Correct_Port()
        {
            ConfigEntity.Port = 0;
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.False(result);
        }
        public void Verify_Config_Not_Correct_Mail()
        {
            ConfigEntity.Mail = "popp.yandex.ru";
            List <ConfigEntity> configEntityList = new List <ConfigEntity> {
                ConfigEntity
            };

            var configVerifier = new ConfigVerifier();
            var result         = configVerifier.Verify(configEntityList);

            Assert.False(result);
        }