public void Convert_NotBoolean()
        {
            var expectedStyle = FontStyles.Normal;

            var converter = new BoolToFontStyleConverter();

            var actualStyle = converter.Convert(new object(), null, null, null);

            Assert.AreEqual(expectedStyle, actualStyle);
        }
        public void Convert_False()
        {
            var expectedStyle = FontStyles.Normal;

            var converter = new BoolToFontStyleConverter();

            var actualStyle = converter.Convert(false, null, null, null);

            Assert.AreEqual(expectedStyle, actualStyle);
        }
        public void Convert_True()
        {
            var expectedStyle = FontStyles.Italic;

            var converter = new BoolToFontStyleConverter();
            converter.CompletedStyle = expectedStyle;

            var actualStyle = converter.Convert(true, null, null, null);

            Assert.AreEqual(expectedStyle, actualStyle);
        }