public void Execute_Null_NullDropped()
        {
            var list = new List <object>()
            {
                1, 3, 5, null
            };
            var strategy = new FailureMissingValueStrategy(ColumnType.Numeric);

            Assert.Throws <ArgumentException>(() => strategy.Execute(list));
        }
        public void Execute_NoSpecialValue_NoException()
        {
            var list = new List <object>()
            {
                1, 3, 5
            };
            var strategy = new FailureMissingValueStrategy(ColumnType.Numeric);

            Assert.DoesNotThrow(() => strategy.Execute(list));
        }
        public void Execute_NoSpecialValue_SameValues()
        {
            var list = new List <object>()
            {
                1, 3, 5
            };
            var strategy = new FailureMissingValueStrategy(ColumnType.Numeric);
            var result   = strategy.Execute(list);

            Assert.That(result, Has.Member(1));
            Assert.That(result, Has.Member(3));
            Assert.That(result, Has.Member(5));
        }