Exemplo n.º 1
0
        public void Setup()
        {
            aRuleThatIsTrue = ARuleAbout <AnyClass> .Where(x => true, "Always True");

            aRuleThatIsFalse = ARuleAbout <AnyClass> .Where(x => false, "Always False");

            describer = new VerboseRuleDescriber <AnyClass>();
        }
        public void Setup()
        {
            aRuleThatIsTrue = ARuleAbout <AnyClass> .Where(x => true, "Always True");

            aRuleThatIsFalse = ARuleAbout <AnyClass> .Where(x => false, "Always False");

            describer = new SimplifiedEvaluatingRuleDescriber <AnyClass>(new AnyClass());
        }
Exemplo n.º 3
0
        public void Setup()
        {
            aRuleThatIsTrue = ARuleAbout <AnyClass> .Where(x => true);

            aRuleThatIsFalse = ARuleAbout <AnyClass> .Where(x => false);
        }
Exemplo n.º 4
0
        public void Setup()
        {
            aRuleThatIsTrue = ARuleAbout <AnyClass, AnyOtherClass> .Where((x, y) => true);

            aRuleThatIsFalse = ARuleAbout <AnyClass, AnyOtherClass> .Where((x, y) => false);
        }