@Override
    public void doClean() {
        long currentTime = System.currentTimeMillis();
        for (ExpiredMetadataInfo each : metadataManager.getExpiredMetadataInfos()) {
            if (currentTime - each.getCreateTime() > GlobalConfig.getExpiredMetadataExpiredTime()) {
                removeExpiredMetadata(each);
            }
        }
    }
@Test
    void testDoClean() {
        expiredMetadataCleaner.doClean();
        verify(metadataManagerMock).getExpiredMetadataInfos();
        verify(metadataOperateServiceMock).deleteServiceMetadata(expiredMetadataInfoMock.getService());
    }