ElasticsearchDocumentRequestExecutor implements DocumentRequestExecutor { @Override public DeleteByQueryDocumentResponse executeDocumentRequest( DeleteByQueryDocumentRequest deleteByQueryDocumentRequest) { return _deleteByQueryDocumentRequestExecutor.execute( deleteByQueryDocumentRequest); }  @Override BulkDocumentResponse executeBulkDocumentRequest(
		BulkDocumentRequest bulkDocumentRequest); @Override DeleteByQueryDocumentResponse executeDocumentRequest(
		DeleteByQueryDocumentRequest deleteByQueryDocumentRequest); @Override DeleteDocumentResponse executeDocumentRequest(
		DeleteDocumentRequest deleteDocumentRequest); @Override GetDocumentResponse executeDocumentRequest(
		GetDocumentRequest getDocumentRequest); @Override IndexDocumentResponse executeDocumentRequest(
		IndexDocumentRequest indexDocumentRequest); @Override UpdateByQueryDocumentResponse executeDocumentRequest(
		UpdateByQueryDocumentRequest updateByQueryDocumentRequest); @Override UpdateDocumentResponse executeDocumentRequest(
		UpdateDocumentRequest updateDocumentRequest);  }
@Test public void testExecuteDeleteByQueryDocumentRequest() { DeleteByQueryDocumentRequest deleteByQueryDocumentRequest = new DeleteByQueryDocumentRequest((Query)null); _elasticsearchDocumentRequestExecutor.executeDocumentRequest( deleteByQueryDocumentRequest); Mockito.verify( _deleteByQueryDocumentRequestExecutor ).execute( deleteByQueryDocumentRequest ); }
@Test public void testExecuteDeleteDocumentRequest() { DeleteDocumentRequest deleteDocumentRequest = new DeleteDocumentRequest( null, null); _elasticsearchDocumentRequestExecutor.executeDocumentRequest( deleteDocumentRequest); Mockito.verify( _deleteDocumentRequestExecutor ).execute( deleteDocumentRequest ); }
@Test public void testExecuteIndexDocumentRequest() { IndexDocumentRequest indexDocumentRequest = new IndexDocumentRequest( null, (Document)null); _elasticsearchDocumentRequestExecutor.executeDocumentRequest( indexDocumentRequest); Mockito.verify( _indexDocumentRequestExecutor ).execute( indexDocumentRequest ); }
@Test public void testExecuteUpdateByQueryDocumentRequest() { UpdateByQueryDocumentRequest updateByQueryDocumentRequest = new UpdateByQueryDocumentRequest((Query)null, null); _elasticsearchDocumentRequestExecutor.executeDocumentRequest( updateByQueryDocumentRequest); Mockito.verify( _updateByQueryDocumentRequestExecutor ).execute( updateByQueryDocumentRequest ); }
@Test public void testExecuteUpdateDocumentRequest() { UpdateDocumentRequest updateDocumentRequest = new UpdateDocumentRequest( null, null, (Document)null); _elasticsearchDocumentRequestExecutor.executeDocumentRequest( updateDocumentRequest); Mockito.verify( _updateDocumentRequestExecutor ).execute( updateDocumentRequest ); }