public static <T> Bounded<T> from(BoundedSource<T> source) {
    return new Bounded<>(null, source);
  }
@Test
  public void failsWhenCustomBoundedSourceIsNotSerializable() {
    thrown.expect(IllegalArgumentException.class);
    Read.from(new NotSerializableBoundedSource());
  }