public void VerifyConverterConverts()
        {
            var converter = new SeverityToImageConverter();

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

            Assert.IsNotNull(value);
            Assert.IsTrue(value.ToString().Contains("Question"));

            value = converter.Convert("Warning", null, null, null);

            Assert.IsNotNull(value);
            Assert.IsTrue(value.ToString().Contains("Warning"));

            value = converter.Convert("Error", null, null, null);

            Assert.IsNotNull(value);
            Assert.IsTrue(value.ToString().Contains("Error"));

            value = converter.Convert("Info", null, null, null);

            Assert.IsNull(value);
        }
        public void VerifyConverterConvertsBackThrows()
        {
            var converter = new SeverityToImageConverter();

            Assert.Throws <NotSupportedException>(() => converter.ConvertBack(null, null, null, null));
        }