@Test public void testSanity() { byte[] wiseAdage = "Unicorns are the best!".getBytes(); PassthroughSerializer serializer = new PassthroughSerializer(); Assert.assertEquals(wiseAdage, serializer.serialize(wiseAdage)); }
@Override public byte[] serialize(byte[] event) { return event; }
PassthroughSerializer implements Serializer<byte[]> { @Override public byte[] serialize(byte[] event) { return event; } }
PassthroughSerializer implements Serializer<byte[]> { @Override public byte[] serialize(byte[] event) { return event; }  }
PassthroughSerializer implements Serializer<byte[]> { @Override public byte[] serialize(byte[] event) { return event; }  @Override byte[] serialize(byte[] event); }
PassthroughSerializer implements Serializer<byte[]> { @Override public byte[] serialize(byte[] event) { return event; }  @Override byte[] serialize(byte[] event);  }