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)); }
public bool IsApplicableTo(IFakeObjectCall fakeObjectCall) { Guard.AgainstNull(fakeObjectCall, "fakeObjectCall"); return(PropertyBehaviorRule.IsPropertyGetter(fakeObjectCall.Method) && TypeIsFakable(fakeObjectCall.Method.ReturnType)); }