public void Convert_Normal()
        {
            var expectedBrush = new SolidColorBrush();

            var converter = new TaskToBrushConverter()
            {
                NormalBrush = expectedBrush
            };

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

            Assert.AreSame(expectedBrush, actualBrush);
        }
        public void Convert_Overdue()
        {
            var expectedBrush = new SolidColorBrush();

            var converter = new TaskToBrushConverter()
            {
                OverdueBrush = expectedBrush
            };

            var actualBrush = converter.Convert(new object[] { false, DateTime.Now.AddDays(-1) }, null, null, null);

            Assert.AreSame(expectedBrush, actualBrush);
        }
        public void Convert_Completed()
        {
            var expectedBrush = new SolidColorBrush();

            var converter = new TaskToBrushConverter()
            {
                CompletedBrush = expectedBrush
            };

            var actualBrush = converter.Convert(new object[] { true, DateTime.Now.AddDays(1) }, null, null, null);

            Assert.AreSame(expectedBrush, actualBrush);
        }