@Test
public void serialize() throws IOException {

	final Random random = new Random();
	final EphemeralConst<Integer> object = EphemeralConst.of(
		"some name",
		(Supplier<Integer> & Serializable)random::nextInt
	);
	final byte[] data = IO.object.toByteArray(object);
	Assert.assertEquals(IO.object.fromByteArray(data), object);
}