@Test public void testElasticsearchHelper() throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { final Constructor<ElasticsearchHelper> constructor = ElasticsearchHelper.class.getDeclaredConstructor(); assertTrue(Modifier.isPrivate(constructor.getModifiers())); constructor.setAccessible(true); final ElasticsearchHelper helper = constructor.newInstance(); assertNotNull(helper); assertEquals(QUERY.toString(), ElasticsearchHelper.queryBuilderToString(QUERY)); }
private ElasticsearchHelper() { }
ElasticsearchHelper { private ElasticsearchHelper() { } }
ElasticsearchHelper { private ElasticsearchHelper() { } private  ElasticsearchHelper(); }
ElasticsearchHelper { private ElasticsearchHelper() { } private  ElasticsearchHelper(); static String queryBuilderToString(final QueryBuilder query); }
ElasticsearchHelper { private ElasticsearchHelper() { } private  ElasticsearchHelper(); static String queryBuilderToString(final QueryBuilder query);  }