public void BuilderThrowsErrorWhenYouGiveItNotEnoughData()
        {
            var builder = new ApplyPatternPropertyBuilder();

            Assert.Throws<ArgumentNullException>(() => builder.Build(null));
            Assert.Throws<ArgumentException>(() => builder.Build(new List<IValue>()));
            Assert.Throws<ArgumentException>(() => builder.Build(new List<IValue> { new StringValue("") }));
        }
        public void BuilderBuildsCorrectProperty()
        {
            var builder = new ApplyPatternPropertyBuilder();

            var result = builder.Build(new List<IValue> { new StringValue(""), new StringValue("") });

            Assert.IsInstanceOf<ApplyPatternProperty>(result);
        }