public void ConvertReturnsVisibleIfValueIsTrue() { var conv = new FalseToCollapsedConverter(); Assert.AreEqual(Visibility.Visible, conv.Convert(true, null, null, null)); }
public void ConvertReturnsCollapsedIfValueIsNull() { var conv = new FalseToCollapsedConverter(); Assert.AreEqual(Visibility.Collapsed, conv.Convert(null, null, null, null)); }