public void TestMapReverseReturnCorrectValues(string date, byte red, byte green, byte blue)
        {
            _map = new DateTimeToColorMap(
                DateTime.MinValue,
                DateTime.MaxValue,
                _colorPalette.Colors,
                SortOrder.Descending);
            var color  = new Color(red, green, blue);
            var value  = DateTime.Parse(date);
            var result = _map.Map(value);

            Assert.That(result, Is.EqualTo(color));
        }
        public void TestMapShouldHandleNullValue()
        {
            var result = _map.Map(null);

            Assert.That(result, Is.EqualTo(_nullColor));
        }