@Test
public void testBulkNoRequest() {

	elasticsearchClient.sendBulk(os -> os.write(("").getBytes("UTF-8")));
	assertThat(testAppender.list).hasSize(1);
	final ILoggingEvent event = testAppender.list.get(0);
	assertThat(event.getLevel().toString()).isEqualTo("WARN");
	assertThat(event.getMessage()).startsWith("Error(s) while sending a _bulk request to elasticsearch: {}");
}