@Override
    public boolean processSnapshot(DistroData distroData) {
        ClientSyncDatumSnapshot snapshot = ApplicationUtils.getBean(Serializer.class)
                .deserialize(distroData.getContent(), ClientSyncDatumSnapshot.class);
        for (ClientSyncData each : snapshot.getClientSyncDataList()) {
            handlerClientSyncData(each);
        }
        return true;
    }
@Test
    void testProcessSnapshot() {
        ClientSyncDatumSnapshot snapshot = new ClientSyncDatumSnapshot();
        snapshot.setClientSyncDataList(Collections.singletonList(clientSyncData));
        when(serializer.deserialize(any(), eq(ClientSyncDatumSnapshot.class))).thenReturn(snapshot);
        assertEquals(0L, client.getRevision());
        assertEquals(0, client.getAllPublishedService().size());
        distroClientDataProcessor.processSnapshot(distroData);
        verify(clientManager).syncClientConnected(CLIENT_ID, clientSyncData.getAttributes());
        assertEquals(1L, client.getRevision());
        assertEquals(1, client.getAllPublishedService().size());
    }