use: package: org.springframework.boot.test.autoconfigure.graphql.tester, annotation type: AutoConfigureHttpGraphQlTester.
Read More