Inheritance: IMultiValueConverter
        public void True_Array_Converts_To_Visible()
        {
            var conv = new MultiBoolVisibleConverter();

            var result = conv.Convert(new object[] { true, true }, typeof(Visibility), null, CultureInfo.CurrentCulture);

            Assert.AreEqual(Visibility.Visible, result);
        }
        public void Null_With_Not_Param_Converts_To_Visible()
        {
            var conv = new MultiBoolVisibleConverter();

            var result = conv.Convert(null, typeof(Visibility), "not", CultureInfo.CurrentCulture);

            Assert.AreEqual(Visibility.Visible, result);
        }
        public void Null_Converts_To_Collapsed()
        {
            var conv = new MultiBoolVisibleConverter();

            var result = conv.Convert(null, typeof(Visibility), null, CultureInfo.CurrentCulture);

            Assert.AreEqual(Visibility.Collapsed, result);
        }
        public void False_Array_With_Not_Param_Converts_To_Visible()
        {
            var conv = new MultiBoolVisibleConverter();

            var result = conv.Convert(new object[] { false, false }, typeof(Visibility), "not", CultureInfo.CurrentCulture);

            Assert.AreEqual(Visibility.Visible, result);
        }
        public void False_Array_Converts_To_Collapsed()
        {
            var conv = new MultiBoolVisibleConverter();

            var result = conv.Convert(new object[] { false, false }, typeof(Visibility), null, CultureInfo.CurrentCulture);

            Assert.AreEqual(Visibility.Collapsed, result);
        }
        public void ConvertBack_Returns_Null()
        {
            var conv = new MultiBoolVisibleConverter();

            var result = conv.ConvertBack(null, null, null, CultureInfo.CurrentCulture);

            Assert.IsNull(result, "No longer an unsupported operation?");
        }
        public void True_Array_With_Not_Param_Converts_To_Collapsed()
        {
            var conv = new MultiBoolVisibleConverter();

            var result = conv.Convert(new object[] { true, true }, typeof(Visibility), "not", CultureInfo.CurrentCulture);

            Assert.AreEqual(Visibility.Collapsed, result);
        }