public void ConvertBack()
 {
     var converter = new EmptyStringToCollapsingVisibilityConverter();
     Assert.AreEqual(ConverterHelper.DoNothingBindingValue, converter.ConvertBack(null, typeof (object), null, (CultureInfo)null));
 }
 public void Convert_EmptyString_ParameterTrue()
 {
     var converter = new EmptyStringToCollapsingVisibilityConverter();
     Assert.AreEqual(Visibility.Visible, converter.Convert(string.Empty, typeof (Visibility), true, (CultureInfo)null));
 }
 public void Convert_String_ParameterFalse()
 {
     var converter = new EmptyStringToCollapsingVisibilityConverter();
     Assert.AreEqual(Visibility.Visible, converter.Convert("filledstring", typeof (Visibility), false, (CultureInfo)null));
 }
 public void Convert_EmptyString()
 {
     var converter = new EmptyStringToCollapsingVisibilityConverter();
     Assert.AreEqual(Visibility.Collapsed, converter.Convert(string.Empty, typeof (Visibility), null, (CultureInfo)null));
 }