An IValueConverter which formats a string value to upper case.
Inheritance: IValueConverter
        public void ConvertWithStringReturnsUppercaseString()
        {
            var converter = new StringToUppercaseConverter();

            var expected = "MY STRING!";
            var actual = converter.Convert("My String!", typeof(string), null, CultureInfo.CurrentCulture);

            Assert.AreEqual(actual, expected);
        }
        public void ConvertBackIsNotImplemented()
        {
            var converter = new StringToUppercaseConverter();

            Assert.ThrowsException<NotImplementedException>(() => converter.ConvertBack(null, typeof(string), null, CultureInfo.CurrentCulture));
        }