public void GenerateFrom_Always_GeneratedTheCorrectMethod()
		{
			var generator = new EncodedOutputMethodGenerator();
			
			var content = "foo";

			var expected = "OutputEncoded(foo);";

			var actual = generator.GenerateFrom(content);

			Assert.AreEqual(expected, actual);
		}
        public void GenerateFrom_Always_GeneratedTheCorrectMethod()
        {
            var generator = new EncodedOutputMethodGenerator();

            var content = "foo";

            var expected = "OutputEncoded(foo);";

            var actual = generator.GenerateFrom(content);

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

            string content = "foo";

            string expected = "OutputEncoded(foo);";

            string actual = generator.GenerateFrom(content);

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

			string expected = "OutputEncoded(foo);";

			string actual = generator.GenerateFrom(content);

			Assert.Equal(expected, actual);
		}