public static Set<Class<?>> getAllowClassType() {
        return Collections.unmodifiableSet(ALLOW_CLAZZ_SET);
    }
@Test
    public void getAllowClassType() {
        Assertions.assertTrue(SerializerSecurityRegistry.getAllowClassType().contains(Long.class));
        Assertions.assertTrue(SerializerSecurityRegistry.getAllowClassType().contains(Integer.class));
        Assertions.assertTrue(SerializerSecurityRegistry.getAllowClassType().contains(HeartbeatMessage.class));
        Assertions.assertTrue(SerializerSecurityRegistry.getAllowClassType().contains(BranchCommitRequest.class));
        Assertions.assertTrue(SerializerSecurityRegistry.getAllowClassType().contains(BranchCommitResponse.class));
        Assertions.assertFalse(SerializerSecurityRegistry.getAllowClassType().contains(AbstractBranchEndRequest.class));
        Assertions.assertFalse(SerializerSecurityRegistry.getAllowClassType().contains(Version.class));
    }