Exemplo n.º 1
0
        public bool TestMatch(StalkNode node, List <string> groups)
        {
            this.rc.Setup(x => x.GetUserGroups()).Returns(groups);

            return(node.Match(this.rc.Object));
        }
Exemplo n.º 2
0
 public bool TestMatch(StalkNode node)
 {
     return(node.Match(this.rc));
 }
        public bool TestMatch(StalkNode node, bool value)
        {
            this.rc.Setup(x => x.PageIsInCategory(It.IsAny <string>())).Returns(value);

            return(node.Match(this.rc.Object));
        }