Description
Source from current master:
protected byte[] serializeToBytes(final Serializer serializer, final byte[] defaultValue) { final String serializable = serializeToString(serializer); if (serializer == null) { return defaultValue; } return StringEncoder.toBytes(serializable, getCharset()); }
I believe the test should be on "serializable" not "serializer".