### Question:
RunDao extends Dao { public Run get( String runId ) { SearchResponse response = getRequest( DAO_INDEX_KEY, DAO_TYPE_KEY ) .setQuery( termQuery( "_id", runId ) ) .execute() .actionGet(); SearchHit hits[] = response.getHits().hits(); return hits.length > 0 ? toRun( hits[ 0 ] ) : null; } @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 get() { LOG.info( "\n===RunDaoTest.get===\n" ); Run run = ESSuiteTest.runDao.get( ESSuiteTest.RUN_ID_3 ); assertEquals( ESSuiteTest.COMMIT_ID_3, run.getCommitId() ); assertEquals( ESSuiteTest.RUNNER_HOSTNAME_1, run.getRunner() ); assertEquals( ESSuiteTest.RUN_DURATION, ( Long ) run.getActualTime() ); }