### Question:
OzoneClientProducer { @Produces public OzoneClient createClient() throws IOException { client = getClient(ozoneConfiguration); return client; }  @Produces OzoneClient createClient(); @PreDestroy void destory(); void setOzoneConfiguration(OzoneConfiguration config);  }### Answer:
@Test public void testGetClientFailure() throws Exception { LambdaTestUtils.intercept(IOException.class, "Couldn't create", () -> producer.createClient()); }