@Test
public void testMergeQueryResultsWithAllEmpty() {

    ServiceDocumentQueryResult result1 = createServiceDocumentQueryResult(new int[] {});
    ServiceDocumentQueryResult result2 = createServiceDocumentQueryResult(new int[] {});
    ServiceDocumentQueryResult result3 = createServiceDocumentQueryResult(new int[] {});
    List<ServiceDocumentQueryResult> resultsToMerge = Arrays.asList(result1, result2, result3);
    ServiceDocumentQueryResult mergeResult = new ServiceDocumentQueryResult();
    QueryTaskUtils.mergeQueryResults(resultsToMerge, true, mergeResult);
    assertTrue(verifyMergeResult(mergeResult, new int[] {}));
}