Tuple2Impl extends AbstractTuple implements Tuple2<T0, T1> { @SuppressWarnings("unchecked") @Override public T1 get1() { return ((T1) values[1]); } Tuple2Impl(T0 e0, T1 e1); @SuppressWarnings("unchecked") @Override T0 get0(); @SuppressWarnings("unchecked") @Override T1 get1();  }
@Test void get1Test() { assertEquals(1, (int) instance.get1()); }