Exemplo n.º 1
0
        private void InitializeInterceptorBeingBuilt(LambdaExpression expression)
        {
            var callRule = new ExpressionCallRule(expression);

            Fake.AddRule(callRule);
            this.RuleBeingBuilt = callRule;
        }
Exemplo n.º 2
0
        public IVoidConfiguration <TFake> AnyCall()
        {
            this.RuleBeingBuilt = new AnyCallCallRule();
            this.Fake.AddRule(this.RuleBeingBuilt);

            return(this);
        }
Exemplo n.º 3
0
 internal FakeConfiguration(FakeObject fake, BuildableCallRule ruleBeingBuilt)
 {
     this.Fake           = fake;
     this.RuleBeingBuilt = ruleBeingBuilt;
 }