public void ConvertFalseTest()
 {
     var converter = new BooleanToVisibilityConverter();
     var result = converter.Convert(false, typeof(Visibility), null, null);
     Assert.AreEqual(Visibility.Collapsed, result);
 }
 public void ConvertTrueTest()
 {
     var converter = new BooleanToVisibilityConverter();
     var result = converter.Convert(true, typeof(Visibility), null, null);
     Assert.AreEqual(Visibility.Visible, result);
 }
 public void ConvertBackCollapsedTest()
 {
     var converter = new BooleanToVisibilityConverter();
     var result = converter.ConvertBack(Visibility.Collapsed, typeof(bool), null, null);
     Assert.AreEqual(false, result);
 }