public void GenerateFrom_Always_GeneratedTheCorrectMethod()
        {
            var generator = new OutputMethodGenerator();

            var content = "foo";

            var expected = "Output(foo);";

            var actual = generator.GenerateFrom(content);

            Assert.AreEqual(expected, actual);
        }
		public void GenerateFrom_Always_GeneratedTheCorrectMethod()
		{
			OutputMethodGenerator generator = new OutputMethodGenerator();
			
			string content = "foo";

			string expected = "Output(foo);";

			string actual = generator.GenerateFrom(content);

			Assert.AreEqual(expected, actual);
		}
Exemplo n.º 3
0
        public void GenerateFrom_Always_GeneratedTheCorrectMethod()
        {
            OutputMethodGenerator generator = new OutputMethodGenerator();

            string content = "foo";

            string expected = "Output(foo);";

            string actual = generator.GenerateFrom(content);

            Assert.Equal(expected, actual);
        }