Binboo.Tests.Core.Commands.Arguments.ParamValidatorTestCase.TestFromList C# (CSharp) Method

TestFromList() private method

private TestFromList ( ) : void
return void
        public void TestFromList()
        {
            const string value1 = "Value1";
            const string one = "Value One";

            ParamValidator fromList = ParamValidator.From(new [] {value1, one});

            Assert.IsTrue(fromList.IsMatch(value1));
            Assert.IsTrue(fromList.IsMatch(one));

            Assert.IsTrue(fromList.IsMatch(Quote(value1)));
            Assert.IsTrue(fromList.IsMatch(Quote(one)));
        }