Reading reading = new Reading(uuid, date, new BigDecimal(195).movePointLeft(1),
24, "ESE", BigInteger.valueOf(17L), false);
Serializer serializer = ExtensibleTypeInferringSerializer.getSerializer(Reading.class);
ByteBuffer buffer = serializer.toByteBuffer(reading);
Reading deserializedReading = new Reading(uuid, date, (Reading) serializer.fromByteBuffer(buffer));
assertEquals(reading, deserializedReading);
}