public void TestReport() { var textItem = _statusBarService.Children.FirstOrDefault() as IStatusBarTextItem; Assert.IsNotNull(textItem); var testWord = "Haha"; _statusBarService.Report(testWord); Assert.AreEqual(textItem.Text, testWord); }
public void TestReport() { var textItem = _statusBarService.Children.FirstOrDefault() as IStatusBarTextItem; Assert.IsNotNull(textItem); var testWord = "Haha"; _statusBarService.Report(testWord); Assert.AreEqual(textItem.Text, testWord); }