@Test
public void testDoExtractResponse500() {

    expectedException.expect(SystemException.class);
    expectedException.expectMessage("Status code: 500");
    ElasticSearchSchemaService.doExtractResponse(500, null);
}