public void ConvertBack_Null() { var converter = new BooleanToCollapsingVisibilityConverter(); Assert.AreEqual(false, converter.ConvertBack(null, typeof (bool), null, (CultureInfo)null)); }
public void ConvertBack_VisibleParameterTrue() { var converter = new BooleanToCollapsingVisibilityConverter(); Assert.AreEqual(true, converter.ConvertBack(Visibility.Visible, typeof (bool), true, (CultureInfo)null)); }
public void ConvertBack_CollapsedParameterFalse() { var converter = new BooleanToCollapsingVisibilityConverter(); Assert.AreEqual(true, converter.ConvertBack(Visibility.Collapsed, typeof (bool), false, (CultureInfo)null)); }