public void TestAdd() { var newItem = new Mock <IStatusBarObjectItem>(); _statusBarService.AddStatusBarItem(newItem.Object, GridChildLength.Auto); Assert.IsTrue(_statusBarService.Children.Contains(newItem.Object)); }