Esempio n. 1
0
        public void Writes_writes_a_single_statement()
        {
            writer.AppendStatement("var testVariable = 0;");
            writer.Write("test-project");
            var programText = File.ReadAllText("test-project/Program.cs");

            Assert.That(programText.Contains("var testVariable = 0;"));
        }