public void IsLanguageWorkerConsoleLog_Returns_True_RemovesLogPrefix(string msg)
        {
            LanguageWorkerChannel languageWorkerChannel = new LanguageWorkerChannel();

            Assert.True(LanguageWorkerChannelUtilities.IsLanguageWorkerConsoleLog(msg));
            Assert.Equal(" Connection established", LanguageWorkerChannelUtilities.RemoveLogPrefix(msg));
        }
Ejemplo n.º 2
0
 public void IsLanguageWorkerConsoleLog_Returns_False(string msg)
 {
     Assert.False(LanguageWorkerChannelUtilities.IsLanguageWorkerConsoleLog(msg));
 }