@Test
public void testDeleteLogExceptionsOnlyFalse() throws Throwable {

	expectedException.expect(SearchException.class);
	expectedException.expectMessage(
		"deletion failed and results in exception");
	ElasticsearchExceptionHandler elasticsearchExceptionHandler =
		new ElasticsearchExceptionHandler(_log, false);
	elasticsearchExceptionHandler.handleDeleteDocumentException(
		new SearchException("deletion failed and results in exception"));
}