public final void registerGlobal(final Serializer serializer) {
        registerGlobal(serializer, false);
    }
@Test(expected = IllegalStateException.class)
    public void testGlobalRegister_doubleRegistration() {
        abstractSerializationService.registerGlobal(new StringBufferSerializer(true));
        abstractSerializationService.registerGlobal(new StringBufferSerializer(true));
    }