Exemple #1
0
        public void AddCustomSqlRuleTest_Successful()
        {
            var options = new TestGeneratorOptions();

            options.AddCustomSqlRule(new List <string>()
            {
                "query 1",
                "query 2"
            });

            Assert.NotNull(options);
        }
Exemple #2
0
        public void AddCustomSqlRuleTest_Failure()
        {
            var options = new TestGeneratorOptions();

            Assert.Throws <ArgumentNullException>(() => options.AddCustomSqlRule(null));
        }