Tuple2OfNullablesMapperImpl extends AbstractTupleMapper<T, Tuple2OfNullables<T0, T1>> implements TupleMapper<T, Tuple2OfNullables<T0, T1>> { @Override public Tuple2OfNullables<T0, T1> apply(T t) { return TuplesOfNullables.ofNullables( get0().apply(t), get1().apply(t) ); } Tuple2OfNullablesMapperImpl(Function<T, T0> m0, Function<T, T1> m1); @Override Tuple2OfNullables<T0, T1> apply(T t); Function<T, T0> get0(); Function<T, T1> get1();  }
@Test void apply() { assertEquals(TuplesOfNullables.ofNullables(0, 1), instance.apply(0)); }