@Test
public void testDoExtractResponse400() {

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