public void GlobalSetup() { _nsjDeserializer = new NsjDeserializer(s => { }); _stjDeserializer = new StjDeserializer(s => { }); var gqlRequest = new GraphQLRequest { Query = SchemaIntrospection.IntrospectionQuery }; var gqlRequestJson = Serializer.ToJson(gqlRequest); _httpRequestBody = GetHttpRequestBodyFor(gqlRequestJson); gqlRequest.OperationName = "someOperationName"; gqlRequest.Variables = new StjDeserializer().Deserialize <Inputs>(SHORT_JSON); var gqlRequestJson2 = Serializer.ToJson(gqlRequest); _httpRequestBody2 = GetHttpRequestBodyFor(gqlRequestJson2); }
public void GlobalSetup() { _nsjDeserializer = new NsjDeserializer(s => { }); _stjDeserializer = new StjDeserializer(s => { }); }