public void Test_ConvertBack_ReverseLogic_InvisibleCollapse() { var target = new ObjectReferenceToVisibilityConverter(); target.ReverseLogic = true; target.InvisibleToHidden = false; target.ConvertBack(Visibility.Visible, null, null, null).Should().Be(DependencyProperty.UnsetValue); target.ConvertBack(Visibility.Collapsed, null, null, null).Should().Be(DependencyProperty.UnsetValue); target.ConvertBack(Visibility.Hidden, null, null, null).Should().Be(DependencyProperty.UnsetValue); }