public void EnumToBooleanConverterConverts()
        {
            EnumToBooleanConverter converter = new EnumToBooleanConverter();
            object value = converter.Convert(TransactionType.Buy, typeof(TransactionType), TransactionType.Buy, null);

            Assert.IsTrue((bool)value);
        }
        public void EnumToBooleanConverterConvertsIfValueIsNull()
        {
            EnumToBooleanConverter converter = new EnumToBooleanConverter();
            object value = converter.Convert(null, typeof(TransactionType), TransactionType.Buy, null);

            Assert.IsFalse((bool)value);
        }