### Question:
RunDao extends Dao { public List<Run> getAll() { SearchResponse response = getRequest( DAO_INDEX_KEY, DAO_TYPE_KEY ) .setSize( MAX_RESULT_SIZE ) .execute().actionGet(); return toList( response ); } @Inject  RunDao( IElasticSearchClient elasticSearchClient ); boolean save( Run run ); boolean delete( Run run ); Run get( String runId ); Map<String, Run> getMap( String commitId, int runNumber, String testName ); Map<String, Run> getMap( String commitId, int runNumber, String testName, Collection<Runner> runners ); List<Run> getAll(); List<Run> getList( String commitId, String testName ); List<Run> getList( String commitId, int runNumber ); List<Run> getList( List<Commit> commits, String testName ); List<Run> getRuns( String runner, String commitId ); Collection<Run> getRuns( String commitId ); Set<String> getTestNames( List<Commit> commits ); int getNextRunNumber( String commitId ); static final String DAO_INDEX_KEY; static final String DAO_TYPE_KEY; }### Answer:
@Test public void getAll() { LOG.info( "\n===RunDaoTest.getAll===\n" ); List<Run> list = ESSuiteTest.runDao.getAll(); for ( Run run : list ) { LOG.info( run.toString() ); } assertEquals( 8, list.size() ); }