@Test public void takeIf_returnsGivenIfTrue() { final SimpleClass given = new SimpleClass(); final SimpleClass returned = take(given) .takeIf((in) -> true) .unwrap(); Assert.assertSame(given, returned); }
public static <T> K2JWrapper<T> take(T object) { return new K2JWrapper<>(object); }
K2JCompat { public static <T> K2JWrapper<T> take(T object) { return new K2JWrapper<>(object); } }
K2JCompat { public static <T> K2JWrapper<T> take(T object) { return new K2JWrapper<>(object); }  }
K2JCompat { public static <T> K2JWrapper<T> take(T object) { return new K2JWrapper<>(object); }  static K2JWrapper<T> take(T object); }
K2JCompat { public static <T> K2JWrapper<T> take(T object) { return new K2JWrapper<>(object); }  static K2JWrapper<T> take(T object);  }