public void Convert_StringValues(string input, Visibility expected)
        {
            var testObj = new WatermarkVisibilityConverter();

            var result = (Visibility)testObj.Convert(input, null, null, null);

            Assert.AreEqual(expected, result);
        }
        public void Convert_NonStringValue_ShouldReturnHidden()
        {
            var testObj = new WatermarkVisibilityConverter();

            string[] input = Array.Empty <string>(); // non-string, non-null object

            var result = (Visibility)testObj.Convert(input, null, null, null);

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