コード例 #1
0
        public void TestMethod1()
        {
            //arrange
            string message = "apple";
            var    apples  = new Apples(message);

            //act
            string output = apples.PrintMessage();

            //assert
            //zarojelben az elso az elvart eredmeny a masodik a tesztelt
            Assert.AreEqual(message, output);
        }