public void Convert_True()
 {
     var converter = new BooleanToCollapsingVisibilityConverter();
     Assert.AreEqual(Visibility.Visible, converter.Convert(true, typeof (Visibility), null, (CultureInfo)null));
 }
 public void Convert_FalseParameterFalse()
 {
     var converter = new BooleanToCollapsingVisibilityConverter();
     Assert.AreEqual(Visibility.Visible, converter.Convert(false, typeof (Visibility), false, (CultureInfo)null));
 }
 public void Convert_NonBoolean()
 {
     var converter = new BooleanToCollapsingVisibilityConverter();
     Assert.AreEqual(Visibility.Collapsed, converter.Convert("string", typeof (Visibility), null, (CultureInfo)null));
 }