internal static FakeOptions HasRecorder(this IArgumentConstraintManager <FakeOptions> scope, ISelfInitializingFakeRecorder recorder) { return(scope.Matches(x => recorder.Equals(x.SelfInitializedFakeRecorder), "Specified recorder")); }
internal static FakeOptions HasRecorder(this IArgumentConstraintManager<FakeOptions> scope, ISelfInitializingFakeRecorder recorder) { return scope.Matches(x => recorder.Equals(x.Wrapper.Recorder), "Specified recorder"); }
internal static ArgumentConstraint <FakeOptions> HasRecorder(this ArgumentConstraintScope <FakeOptions> scope, ISelfInitializingFakeRecorder recorder) { return(ArgumentConstraint.Create(scope, x => recorder.Equals(x.SelfInitializedFakeRecorder), "Specified recorder")); }