示例#1
0
        public void TestFileSuscriberOutput()
        {
            var inputText      = "Test_File_Subscriber_Output";
            var expectedOutput = inputText.ToUpper();

            MainLogic.AttachFileProject();
            MainLogic.RaiseMyAlinEvent(inputText);
            Assert.AreEqual(expectedOutput, File.ReadAllText(MyResources.desktopFilePath));
        }