public void ShouldConvertOtherCommentTypeToVisible() { var converter = new CommentTypeToOppositeVisibilityConverter(); var visibility = (Visibility)converter.Convert(CommentType.Timeline, null, null, null); Assert.AreEqual(Visibility.Visible, visibility); }
public void ShouldConvertInkCommentToCollapsed() { var converter = new CommentTypeToOppositeVisibilityConverter(); var visibility = (Visibility)converter.Convert(CommentType.Ink, null, null, null); Assert.AreEqual(Visibility.Collapsed, visibility); }
public void ShouldConvertNotCommentTypeToNull() { var converter = new CommentTypeToOppositeVisibilityConverter(); var result = converter.Convert(new object(), null, null, null); Assert.IsNull(result); }