@Test
void explainServiceFail() {

    String unknownwResourceId = "unknown:model";
    PredictInput input = createInput(10);
    input.getModelIdentifier().setResourceId(unknownwResourceId);
    ResponseEntity<Object> responseEntity = resource.predict(singletonList(input));
    assertEquals(HttpStatus.BAD_REQUEST, responseEntity.getStatusCode());
    assertEquals("Model " + unknownwResourceId + " not found.", responseEntity.getBody());
}