### Question:
RequestQuery extends Request { public static RequestQuerySyntax query() { return new Builder(); } private  RequestQuery(Builder builder); static RequestQuerySyntax query(); @Override Sc2Api.Request toSc2Api(); @Override ResponseType responseType(); List<QueryPathing> getPathings(); List<QueryAvailableAbilities> getAbilities(); List<QueryBuildingPlacement> getPlacements(); boolean isIgnoreResourceRequirements(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void throwsExceptionWhenQueriesAreEmpty() { assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> ((RequestQuery.Builder) query()).build()) .withMessage("one of query is required"); }