Exemple #1
0
        public void ConstructStartupConfigureMethod_Produces_Expected_Result_When_Additional_Statements_Present()
        {
            var additionalStatements = new[] { SyntaxHelperSetupFixture.AdditionalStatement };

            Assert.AreEqual(ExpectedModifiedConfigureText, StartupSyntaxHelper.ConstructStartupConfigureMethod(additionalStatements).NormalizeWhitespace().ToFullString());
        }
Exemple #2
0
 public void ConstructStartupConfigureMethod_Produces_Expected_Basic_Result()
 {
     Assert.AreEqual(ExpectedBasicConfigureText, StartupSyntaxHelper.ConstructStartupConfigureMethod().NormalizeWhitespace().ToFullString());
 }