### Question:
QueryBuilder { public QueryBuilder wildcardScript(String fieldName, String wildcard) { return wildcardScript(null, fieldName, wildcard); } QueryBuilder(); QueryBuilder query(); QueryBuilder query(String name); QueryBuilder matchAll(); QueryBuilder filtered(); QueryBuilder filtered(String name); QueryBuilder filter(); QueryBuilder filter(String name); QueryBuilder nested(String eType); QueryBuilder boost(long boost); QueryBuilder bool(); QueryBuilder bool(String name); QueryBuilder must(); QueryBuilder must(String name); QueryBuilder mustNot(); QueryBuilder mustNot(String name); QueryBuilder should(); QueryBuilder should(String name); QueryBuilder term(String fieldName, Object value); QueryBuilder term(String name, String fieldName, Object value); QueryBuilder terms(String fieldName, Object value); QueryBuilder terms(String name, String fieldName, Object value); QueryBuilder prefix(String fieldName, String prefix); QueryBuilder prefix(String name, String fieldName, String prefix); QueryBuilder regexp(String fieldName, String regexp); QueryBuilder regexp(String name, String fieldName, String regexp); QueryBuilder wildcard(String fieldName, String wildcard); QueryBuilder wildcardScript(String fieldName, String wildcard); QueryBuilder wildcardScript(String name, String fieldName, String wildcard); QueryBuilder wildcard(String name, String fieldName, String wildcard); QueryBuilder match(String fieldName, Object value); QueryBuilder matchPhrase(String fieldName, Object value); QueryBuilder matchPhrase(String name, String fieldName, Object value); QueryBuilder match(String name, String fieldName, Object value); QueryBuilder queryString(String fieldName, Object value); QueryBuilder queryString(String name, String fieldName, Object value); QueryBuilder range(String fieldName); QueryBuilder range(String name, String fieldName); QueryBuilder geoShape(String fieldName); QueryBuilder geoShape(String name, String fieldName); QueryBuilder geoBoundingBox(String name, String fieldName, GeoPoint topLeft, GeoPoint bottomRight); QueryBuilder geoDistance(String name, String fieldName, GeoPoint location, String distance); QueryBuilder ids(Object value); QueryBuilder ids(Iterable<String> ids, String... types); QueryBuilder type(String value); QueryBuilder exists(String value); QueryBuilder queryBuilderFilter(QueryBuilder queryBuilder); QueryBuilder queryBuilderFilter(String name, QueryBuilder queryBuilder); QueryBuilder param(String name, V value); QueryBuilder cache(boolean cache); QueryBuilder from(V from); QueryBuilder to(V to); QueryBuilder includeLower(boolean includeLower); QueryBuilder includeUpper(boolean includeLower); QueryBuilder shape(GeoJsonObject shape); QueryBuilder relation(ShapeRelation relation); QueryBuilder seek(String name); QueryBuilder seek(Composite compositeSeek); QueryBuilder seek(Predicate<Composite> predicate); QueryBuilder seekRoot(); QueryBuilder drop(); QueryBuilder prune(); QueryBuilder expand(Map<String, Object> expandValues); QueryBuilder clear(); QueryBuilder push(); QueryBuilder pop(); ContextualFieldValues getFieldValues(String fieldName); org.elasticsearch.index.query.QueryBuilder getQuery(); @Override QueryBuilder clone(); boolean isValid(); boolean hasFilters(); T visit(String labelNodeToSeek, BiFunction<Composite, T, T> accumulator, T seed); T visit(Composite composite, BiFunction<Composite, T, T> accumulator, T seed); QueryBuilder parent(); Composite getCurrent();  }### Answer:
@Test public void wildcardScriptTest() { final QueryBuilder queryBuilder = new QueryBuilder(); queryBuilder.query(); queryBuilder.bool(); queryBuilder.should(); queryBuilder.wildcardScript("StringValue.keyword","*blabla*"); Assert.assertTrue(queryBuilder.getCurrent() instanceof QueryBuilder.ScriptComposite); final QueryBuilder.ScriptComposite current = (QueryBuilder.ScriptComposite) queryBuilder.getCurrent(); Assert.assertEquals("wildcard", current.getName()); Assert.assertEquals("*blabla*", current.getValue()); Assert.assertEquals("StringValue.keyword", current.getFieldName()); Assert.assertEquals(QueryBuilder.Op.script, current.getOp()); }