### Question:
MsoKeystoneUtils extends MsoTenantUtils { public boolean deleteTenant(String tenantId, String cloudSiteId) throws MsoException { CloudSite cloudSite = cloudConfig.getCloudSite(cloudSiteId).orElseThrow(() -> new MsoCloudSiteNotFound(cloudSiteId)); Keystone keystoneAdminClient = getKeystoneAdminClient(cloudSite); try { Tenant tenant = findTenantById(keystoneAdminClient, tenantId); if (tenant == null) { logger.error("{} Tenant id {} not found on cloud site id {}, {}", MessageEnum.RA_TENANT_NOT_FOUND, tenantId, cloudSiteId, ErrorCode.DataError.getValue()); return false; } OpenStackRequest<Void> request = keystoneAdminClient.tenants().delete(tenant.getId()); executeAndRecordOpenstackRequest(request); logger.debug("Deleted Tenant {} ({})", tenant.getId(), tenant.getName()); } catch (OpenStackBaseException e) { throw keystoneErrorToMsoException(e, DELETE_TENANT); } catch (RuntimeException e) { throw runtimeExceptionToMsoException(e, DELETE_TENANT); } return true; }  String createTenant(String tenantName, String cloudSiteId, Map<String, String> metadata, boolean backout); MsoTenant queryTenant(String tenantId, String cloudSiteId); MsoTenant queryTenantByName(String tenantName, String cloudSiteId); boolean deleteTenant(String tenantId, String cloudSiteId); boolean deleteTenantByName(String tenantName, String cloudSiteId); Keystone getKeystoneAdminClient(CloudSite cloudSite); Tenant findTenantByNameOrId(Keystone adminClient, String tenantNameOrId); Tenant findTenantByName(Keystone adminClient, String tenantName); User findUserByName(Keystone adminClient, String userName); @Override String getKeystoneUrl(String regionId, CloudIdentity cloudIdentity); static final String DELETE_TENANT; }### Answer:
@Test public void deleteTenantTest() throws Exception { StubOpenStack.mockOpenStackGetTenantById(wireMockServer, "tenantId"); StubOpenStack.mockOpenStackDeleteTenantById_200(wireMockServer, "tenantId"); boolean result = msoKeystoneUtils.deleteTenant("tenantId", "MTN13"); Assert.assertTrue(result); }