### Question:
UtilDateConverter implements BytesConverter<Date> { @Override public Date fromBytes(byte[] bytes) { return new Date(longConverter.fromBytes(bytes)); } UtilDateConverter(BytesConverter<Long> longConverter); @Override Date fromBytes(byte[] bytes); @Override byte[] toBytes(Date value); static final BytesConverter<Date> INSTANCE; }### Answer:
@Test public void testFromBytes() throws ParseException { assertEquals(date("2015-01-07 11:00:02"), UtilDateConverter.INSTANCE.fromBytes(new byte[]{0, 0, 1, 74, -60, 13, 31, 80})); }