### Question:
Point { @Override public String toString() { return HEX.encode(point); } Point();  Point(byte[] point);  Point(String point, Encoder encoder); Point mult(byte[] n); Point mult(String n, Encoder encoder); @Override String toString(); byte[] toBytes();  }### Answer:
@Test public void testSerializeToHex() throws Exception { Point point = new Point(TestVectors.BOB_PUBLIC_KEY, HEX); Assert.assertEquals("Should serialize to hex", TestVectors.BOB_PUBLIC_KEY, point.toString()); }