Exemplo n.º 1
0
 public bool IsApplicableTo(IFakeObjectCall fakeObjectCall)
 {
     return(PropertyBehaviorRule.IsPropertyGetter(fakeObjectCall.Method) && TypeIsFakeable(fakeObjectCall.Method.ReturnType));
 }
            public bool IsApplicableTo(IFakeObjectCall fakeObjectCall)
            {
                Guard.AgainstNull(fakeObjectCall, nameof(fakeObjectCall));

                return(PropertyBehaviorRule.IsPropertyGetter(fakeObjectCall.Method));
            }
 public bool IsApplicableTo(IFakeObjectCall fakeObjectCall)
 {
     return(PropertyBehaviorRule.IsPropertySetter(fakeObjectCall.Method));
 }
Exemplo n.º 4
0
            public bool IsApplicableTo(IFakeObjectCall fakeObjectCall)
            {
                Guard.AgainstNull(fakeObjectCall, "fakeObjectCall");

                return(PropertyBehaviorRule.IsPropertyGetter(fakeObjectCall.Method) && TypeIsFakable(fakeObjectCall.Method.ReturnType));
            }