@Test public void compose() { final Result result = ResultComposer.compose(value, result1, result2, result3); assertResult(result); }
@SuppressWarnings("unchecked") public static <T> Result compose(T value, Result... result) { List<Result<Object>> results = Arrays.asList(result); return composeResults(value, results); }
ResultComposer { @SuppressWarnings("unchecked") public static <T> Result compose(T value, Result... result) { List<Result<Object>> results = Arrays.asList(result); return composeResults(value, results); } }
ResultComposer { @SuppressWarnings("unchecked") public static <T> Result compose(T value, Result... result) { List<Result<Object>> results = Arrays.asList(result); return composeResults(value, results); }  }
ResultComposer { @SuppressWarnings("unchecked") public static <T> Result compose(T value, Result... result) { List<Result<Object>> results = Arrays.asList(result); return composeResults(value, results); }  static Result composeResults(T value, Collection<Result<R>>... results); @SuppressWarnings("unchecked") static Result compose(T value, Result... result); }
ResultComposer { @SuppressWarnings("unchecked") public static <T> Result compose(T value, Result... result) { List<Result<Object>> results = Arrays.asList(result); return composeResults(value, results); }  static Result composeResults(T value, Collection<Result<R>>... results); @SuppressWarnings("unchecked") static Result compose(T value, Result... result);  }