@Test
public void testLogExceptionsOnlyTrue() throws Throwable {

	expectedLogTestRule.expectMessage("some random message");
	ElasticsearchExceptionHandler elasticsearchExceptionHandler =
		new ElasticsearchExceptionHandler(_log, true);
	elasticsearchExceptionHandler.logOrThrow(
		new SearchException("some random message"));
}