Inverts a boolean and converts it to a Visibility.
Наследование: IValueConverter
        public void ConvertBack()
        {
            // Arrange
            var converter = new InverseBoolToVisibilityConverter();

            // Act

            // Assert
            Assert.ThrowsException<NotImplementedException>(() => converter.ConvertBack(null, null, null, null));
        }
        public void Convert_True()
        {
            // Arrange
            var converter = new InverseBoolToVisibilityConverter();

            // Act
            var result = (Visibility)converter.Convert(true, null, null, null);

            // Assert
            Assert.AreEqual(Visibility.Collapsed, result);
        }
        public void Convert_False()
        {
            // Arrange
            var converter = new InverseBoolToVisibilityConverter();

            // Act
            var result = (Visibility)converter.Convert(false, null, null, null);

            // Assert
            Assert.AreEqual(Visibility.Visible, result);
        }