hi I am using HttpGraphQlClient from package spring-boot-starter-graphql in spring boot 3 with java 17. Now i am stuck with writing the unit test cases for the method.
Considering that I have proper configuration for the dependency and api is working in method call.
*In my service- *
public void callApi(){ var response = httpGraphQlClient.document("test").retrieve("pokemon").toEntity(List.class).block(); }
I tried using the RestAssured but that doesn’t seem to be working.