public void EmptyStringToVisibilityConverter_UnitTest_CollapsedWhenEmptyStringValue_ExpectsVisible()
 {
     var converter = new EmptyStringToVisibilityConverter();
     converter.EmptyStringVisiblity = Visibility.Collapsed;
     var actual = (Visibility)converter.Convert("Anything", typeof(Visibility), null, null);
     const Visibility expected = Visibility.Visible;
     Assert.AreEqual(expected, actual);
 }
 public void EmptyStringToVisibilityConverter_UnitTest_VisibleWhenEmptyStringEmpty_ExpectsVisible()
 {
     var converter = new EmptyStringToVisibilityConverter();
     converter.EmptyStringVisiblity = Visibility.Visible;
     var actual = (Visibility)converter.Convert(null, typeof(Visibility), null, null);
     const Visibility expected = Visibility.Visible;
     Assert.AreEqual(expected, actual);
 }
 public void EmptyStringToVisibilityConverter_UnitTest_CollapsedWhenEmptyStringNull_ExpectsCollapsed()
 {
     var converter = new EmptyStringToVisibilityConverter();
     converter.EmptyStringVisiblity = Visibility.Collapsed;
     var actual = (Visibility)converter.Convert(string.Empty, typeof(Visibility), null, null);
     const Visibility expected = Visibility.Collapsed;
     Assert.AreEqual(expected, actual);
 }