public long getTotalDocs() {
    return _brokerResponse.has(TOTAL_DOCS) ? _brokerResponse.get(TOTAL_DOCS).asLong() : -1L;
  }
@Test
  public void testGetTotalDocs() {
    // Run the test
    final long result = _executionStatsUnderTest.getTotalDocs();

    // Verify the results
    assertEquals(10L, result);
  }