### Question:
HttpProvisionerRequestService implements ProvisionerRequestService { @Override public boolean deleteTenant(Provisioner provisioner, String tenantId) { HttpDelete delete = new HttpDelete(getTenantURL(provisioner, tenantId)); return makeRequestWithRetries(delete); } @Inject private  HttpProvisionerRequestService(Configuration conf, Gson gson); @Override boolean deleteTenant(Provisioner provisioner, String tenantId); @Override boolean putTenant(Provisioner provisioner, String tenantId, ResourceCollection resourceCollection); @Override boolean putTenantWorkers(Provisioner provisioner, String tenantId); @Override boolean putTenantResources(Provisioner provisioner, String tenantId, ResourceCollection resourceCollection);  }### Answer:
@Test public void testDeleteTenant() { Provisioner provisioner = new Provisioner("id", host, port, 100, null, null); for (int i = 0; i < 10; i++) { provisionerRequestService.deleteTenant(provisioner, "tenant" + i % 5); } for (int i = 0; i < 5; i++) { Assert.assertEquals(2, stubProvisioner.getDeleteCount("tenant" + i)); } }