public TenantCapacity getTenantCapacity(String tenant) {
        return tenantCapacityPersistService.getTenantCapacity(tenant);
    }
@Test
    void testGetTenantCapacity() {
        TenantCapacity tenantCapacity = new TenantCapacity();
        tenantCapacity.setId(1L);
        tenantCapacity.setTenant("testTenant");
        when(tenantCapacityPersistService.getTenantCapacity(eq("testTenant"))).thenReturn(tenantCapacity);
        
        TenantCapacity resTenantCapacity = service.getTenantCapacity("testTenant");
        assertEquals(tenantCapacity.getId(), resTenantCapacity.getId());
        assertEquals(tenantCapacity.getTenant(), resTenantCapacity.getTenant());
    }