HasParentQuery implements Queryable { public static Init<?> builder() { return new HasParentQueryBuilder(); } protected  HasParentQuery(QueryTypeArrayList<QueryTypeItem> queryBag); static Init<?> builder(); @Override String getQueryString();  }
@Test(expected = MandatoryParametersAreMissingException.class) public void when_no_params_added_then_exception_is_thrown() throws MandatoryParametersAreMissingException { HasParentQuery .builder() .build(); }
@Test(expected = MandatoryParametersAreMissingException.class) public void when_no_query_added_then_exception_is_thrown() throws MandatoryParametersAreMissingException { HasParentQuery .builder() .parent_type("value") .build(); }