Esempio n. 1
0
        public void Process_ShouldExecuteAllMatch()
        {
            var dep = new List <string>();

            _allMatchStrategy.Process(2, dep);
            Assert.Equal(2, dep.Count);
        }
Esempio n. 2
0
        public void Process_ShouldExecuteFirstMatch()
        {
            var dep = new List <string>();

            _firstMatchStrategy.Process(0, dep);
            Assert.Single(dep);
            Assert.Equal("zero", dep[0]);
        }