@Test(expected = MandatoryParametersAreMissingException.class) public void when_no_query_added_then_exception_is_thrown() throws MandatoryParametersAreMissingException { Map<String, String> params = new HashMap<>(); params.put("param1","param"); params.put("param2", "param"); TemplateQuery query = TemplateQuery .builder() .params(params) .build(); }
public static Init<?> builder() { return new TemplateQueryBuilder(); }
TemplateQuery implements Queryable { public static Init<?> builder() { return new TemplateQueryBuilder(); } }
TemplateQuery implements Queryable { public static Init<?> builder() { return new TemplateQueryBuilder(); } TemplateQuery(QueryTypeArrayList<QueryTypeItem> queryBag); }
TemplateQuery implements Queryable { public static Init<?> builder() { return new TemplateQueryBuilder(); } TemplateQuery(QueryTypeArrayList<QueryTypeItem> queryBag); static Init<?> builder(); @Override String getQueryString(); }
TemplateQuery implements Queryable { public static Init<?> builder() { return new TemplateQueryBuilder(); } TemplateQuery(QueryTypeArrayList<QueryTypeItem> queryBag); static Init<?> builder(); @Override String getQueryString();  }