public void WithNonOptimizableParams()
        {
            NoNonOptimizableParameters check = new NoNonOptimizableParameters();
            var warnings = check.GetWarnings(InitSnippetPositive, "");

            Assert.AreEqual(0, warnings.Length);
        }
        public void FixNonOptimizableParams()
        {
            NoNonOptimizableParameters check = new NoNonOptimizableParameters();
            var newCode = check.Fix(InitSnippetNigative, "");

            Assert.AreEqual(0, check.GetWarnings(newCode, "").Length);
        }