コード例 #1
0
        public void WarningsTest()
        {
            Record target   = new Record();
            string expected = "IT'S ALL BROKEN! SOUND THE ALARM!";

            target.AddWarnings("IT'S ALL BROKEN! SOUND THE ALARM!");
            List <string> actual = target.Warnings;

            Assert.AreEqual(expected, actual[0]);
        }