public void ConvertBack()
 {
     var converter = new ContainsItemsConverter();
     Assert.AreEqual(ConverterHelper.UnsetValue, converter.ConvertBack(null, typeof (object), null, (CultureInfo)null));
 }
 public void Convert_FilledString()
 {
     var converter = new ContainsItemsConverter();
     Assert.AreEqual(true, converter.Convert("filledstring", typeof (bool), null, (CultureInfo)null));
 }
 public void Convert_EmptyString()
 {
     var converter = new ContainsItemsConverter();
     Assert.AreEqual(false, converter.Convert("", typeof (bool), null, (CultureInfo)null));
 }
 public void Convert_FilledArray()
 {
     var converter = new ContainsItemsConverter();
     Assert.AreEqual(true, converter.Convert(new[] {1, 2}, typeof (bool), null, (CultureInfo)null));
 }
 public void Convert_EmptyArray()
 {
     var converter = new ContainsItemsConverter();
     Assert.AreEqual(false, converter.Convert(new int[] {}, typeof (bool), null, (CultureInfo)null));
 }
 public void Convert_EmptyList()
 {
     var converter = new ContainsItemsConverter();
     Assert.AreEqual(false, converter.Convert(new List<int>(), typeof (bool), null, (CultureInfo)null));
 }