public void ConvertEmptyListTest()
 {
     var list = new List<string>();
     var converter = new ListContentToVisibility();
     var result = converter.Convert(list, typeof(List<string>), null, null);
     Assert.AreEqual(Visibility.Collapsed, result);
 }
 public void ConvertNonEmptyListTest()
 {
     var list = new List<string> { "Ala ma kota" };
     var converter = new ListContentToVisibility();
     var result = converter.Convert(list, typeof(List<string>), null, null);
     Assert.AreEqual(Visibility.Visible, result);
 }
 public void ConvertBackTest()
 {
     var converter = new ListContentToVisibility();
     Assert.ThrowsException<NotImplementedException>(() =>
             converter.ConvertBack(Visibility.Collapsed,
                                   typeof(Visibility), null,
                                   null)
         );
 }