public static Gson instance() {
        return SingletonHolder.INSTANCE;
    }
@Test
    void rejectsDeserializationOfDESEncrypter() {
        final IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () ->
                Serialization.instance().fromJson("{}", DESEncrypter.class));
        assertEquals(format("Refusing to deserialize a %s in the JSON stream!", DESEncrypter.class.getName()), e.getMessage());
    }