public void Convert_WhenPassedValue_ReturnsExpectedResult(object value, object expectedResult)
        {
            var sut = new LossIncidentTypeToIconConverter();

            object result = sut.Convert(value, null, null, CultureInfo.CurrentCulture);

            Assert.AreEqual(expectedResult, result);
        }
        public void Convert_WhenPassedString_ThrowsFormatException()
        {
            var sut = new LossIncidentTypeToIconConverter();

            Assert.Throws <InvalidCastException>(() =>
            {
                sut.Convert("Test", null, null, CultureInfo.CurrentCulture);
            });
        }