@SuppressWarnings("rawtypes")
private void test(Object object) {
TypeInferringSerializer ext = TypeInferringSerializer.get();
ByteBuffer bytes = ext.toByteBuffer(object);
Serializer ser = SerializerTypeInferer.getSerializer(object.getClass());
Object target = ser.fromByteBuffer(bytes);
assertEquals(object, target);
}
private static class SampleObject implements Serializable {
private final String a = "test";