### Question:
GraphQLRequestEntity { public static RequestBuilder Builder() { return new RequestBuilder(); } GraphQLRequestEntity(RequestBuilder builder); static RequestBuilder Builder(); URL getUrl(); Map<String, String> getHeaders(); String getRequest(); Map<String, Object> getVariables(); List<Class> getScalars(); void setRequestMethod(GraphQLTemplate.GraphQLMethod requestMethod); @Override String toString();  }### Answer:
@Test public void requestWithoutUrl() { IllegalStateException exception = null; try { GraphQLRequestEntity.Builder().request(TestModel.class).build(); } catch (IllegalStateException e) { exception = e; } assertNotNull(exception); assertEquals("url must be set", exception.getMessage()); }
@Test public void requestWithoutRequestBody() throws MalformedURLException { IllegalStateException exception = null; try { GraphQLRequestEntity.Builder().url(EXAMPLE_URL).build(); } catch (IllegalStateException e) { exception = e; } assertNotNull(exception); assertEquals("request must be set", exception.getMessage()); }