### Question:
TenantRestClient extends RestClient implements TenantClient { @Override public void deleteTenant(String tenantName) throws IOException { delete(TENANT_URL_SUFFIX, tenantName); } TenantRestClient(Supplier<RestClientConnectionConfig> config, CloseableHttpClient httpClient);  TenantRestClient(Supplier<RestClientConnectionConfig> config, CloseableHttpClient httpClient, Gson gson); @Override List<TenantSpecification> getTenants(); @Override TenantSpecification getTenant(String tenantName); @Override void deleteTenant(String tenantName);  }### Answer:
@Test public void testDeleteTenantSuccess() throws IOException { tenantClient.deleteTenant(TENANT.getName()); }
@Test public void testDeleteImageTypeNotFound() throws IOException { clientManager = createClientManager(TestStatusUserId.NOT_FOUND_STATUS_USER_ID.getValue()); tenantClient = clientManager.getTenantClient(); try { tenantClient.deleteTenant(TENANT.getName()); Assert.fail("Expected HttpFailureException"); } catch (HttpFailureException e) { Assert.assertEquals(HttpStatus.SC_NOT_FOUND, e.getStatusCode()); } }