@Override
    protected void loadSnapshot(byte[] snapshotBytes) {
        metadataManager.loadServiceMetadataSnapshot(serializer.deserialize(snapshotBytes));
    }
@Test
    void testLoadSnapshot() {
        ConcurrentMap<Service, ServiceMetadata> map = new ConcurrentHashMap<>();
        Service service = Service.newService("namespace", "group", "name");
        map.put(service, new ServiceMetadata());
        
        Serializer aDefault = SerializeFactory.getDefault();
        serviceMetadataSnapshotOperation.loadSnapshot(aDefault.serialize(map));
        
        Map<Service, ServiceMetadata> serviceMetadataSnapshot = namingMetadataManager.getServiceMetadataSnapshot();
        assertNotNull(serviceMetadataSnapshot);
        assertEquals(1, serviceMetadataSnapshot.size());
    }