### Question:
FileByteSource extends BeanByteSource implements ImmutableBean, Serializable { public static FileByteSource of(File file) { return new FileByteSource(file); } private  FileByteSource(File file); static FileByteSource of(File file); static FileByteSource of(Path path); @Override MetaBean metaBean(); @Override Optional<String> getFileName(); File getFile(); @Override InputStream openStream(); @Override com.google.common.base.Optional<Long> sizeIfKnown(); @Override long size(); @Override ArrayByteSource load(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testSerialize() { FileByteSource test = FileByteSource.of(new File("pom.xml")); String json = JodaBeanSer.PRETTY.jsonWriter().write(test); FileByteSource roundTrip = JodaBeanSer.PRETTY.jsonReader().read(json, FileByteSource.class); assertThat(roundTrip).isEqualTo(test); }