for (Long value: values) {
LongPayload lPayload = new LongPayload(value);
Payload payload = lPayload.asPayload();
LongPayload bPayload = new LongPayload(payload.toByteArray());
assertEquals(lPayload,bPayload);
assertEquals(value,bPayload.asLong());
}
}