@Test(expected = IllegalStateException.class)
public void testPolymorphicSerialization_WithNonPolymorphicConfig() {

    KryoSerializer.validateObjectIsRoundTripSerializable(1, Number.class, PersistenceConfig.DEFAULT_CONFIG);
}