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

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