public void correctUsage() {
        correctGroupUsage();
        correctTenantUsage();
    }
@Test
    void testCorrectUsage() {
        List<GroupCapacity> groupCapacityList = new ArrayList<>();
        GroupCapacity groupCapacity = new GroupCapacity();
        groupCapacity.setId(1L);
        groupCapacity.setGroup("testGroup");
        groupCapacityList.add(groupCapacity);
        when(groupCapacityPersistService.getCapacityList4CorrectUsage(0L, 100)).thenReturn(groupCapacityList);
        when(groupCapacityPersistService.getCapacityList4CorrectUsage(1L, 100)).thenReturn(new ArrayList<>());
        when(groupCapacityPersistService.correctUsage(eq("testGroup"), any())).thenReturn(true);
        
        List<TenantCapacity> tenantCapacityList = new ArrayList<>();
        TenantCapacity tenantCapacity = new TenantCapacity();
        tenantCapacity.setId(1L);
        tenantCapacity.setTenant("testTenant");
        tenantCapacityList.add(tenantCapacity);
        when(tenantCapacityPersistService.getCapacityList4CorrectUsage(0L, 100)).thenReturn(tenantCapacityList);
        when(tenantCapacityPersistService.getCapacityList4CorrectUsage(1L, 100)).thenReturn(new ArrayList<>());
        when(tenantCapacityPersistService.correctUsage(eq("testTenant"), any())).thenReturn(true);
        
        service.correctUsage();
        
        Mockito.verify(groupCapacityPersistService, times(1)).getCapacityList4CorrectUsage(0L, 100);
        Mockito.verify(groupCapacityPersistService, times(1)).getCapacityList4CorrectUsage(1L, 100);
        Mockito.verify(groupCapacityPersistService, times(1)).correctUsage(eq("testGroup"), any());
        
        Mockito.verify(tenantCapacityPersistService, times(1)).getCapacityList4CorrectUsage(0L, 100);
        Mockito.verify(tenantCapacityPersistService, times(1)).getCapacityList4CorrectUsage(1L, 100);
        Mockito.verify(tenantCapacityPersistService, times(1)).correctUsage(eq("testTenant"), any());
    }