@Test
public void testDeleteLogExceptionsOnlyTrue() throws Throwable {

	expectedLogTestRule.expectMessage("deletion failed is only logged");
	ElasticsearchExceptionHandler elasticsearchExceptionHandler =
		new ElasticsearchExceptionHandler(_log, true);
	elasticsearchExceptionHandler.handleDeleteDocumentException(
		new SearchException("deletion failed is only logged"));
}