public void CreateSubstitutes() { ReqExecutor = Substitute.For <IGraphQLRequestExecutor>(); ReqBuilder = Substitute.For <IRequestBuilder>(); ResBuilder = Substitute.For <IResultBuilder>(); SchemaProv = Substitute.For <IPartialSchemaProvider>(); Validator = Substitute.For <ISchemaValidator>(); }
public GraphSchemaIOClient( IGraphQLRequestExecutor requestExecutor, IRequestBuilder requestBuilder, IResultBuilder resultBuilder, IPartialSchemaProvider partialSchemaProvider, ISchemaValidator schemaValidator) : base(requestExecutor, requestBuilder, resultBuilder, partialSchemaProvider, schemaValidator) { }
public GraphQLClient( IGraphQLRequestExecutor requestExecutor, IRequestBuilder requestBuilder, IResultBuilder resultBuilder, IPartialSchemaProvider partialSchemaProvider, ISchemaValidator schemaValidator ) { RequestExecutor = requestExecutor; RequestBuilder = requestBuilder; PartialSchemaProvider = partialSchemaProvider; SchemaValidator = schemaValidator; ResultBuilder = resultBuilder; }