public void ShouldConvertTrueToCollapsed()
        {
            var converter  = new BooleanToOppositeVisibilityConverter();
            var visibility = (Visibility)converter.Convert(true, null, null, null);

            Assert.AreEqual(Visibility.Collapsed, visibility);
        }
        public void ShouldConvertFalseToVisible()
        {
            var converter  = new BooleanToOppositeVisibilityConverter();
            var visibility = (Visibility)converter.Convert(false, null, null, null);

            Assert.AreEqual(Visibility.Visible, visibility);
        }
        public void ShouldConvertNullValue()
        {
            var converter = new BooleanToOppositeVisibilityConverter();

            var result = converter.Convert(null, null, null, null);

            Assert.IsNull(result);
        }
        public void ConvertBackShouldThrow()
        {
            var converter = new BooleanToOppositeVisibilityConverter();

            converter.ConvertBack(null, null, null, null);
        }