### Question:
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);  }### Answer:
@Test public void compose() { final Result result = ResultComposer.compose(value, result1, result2, result3); assertResult(result); }
@Test public void composeList() { final Result result = ResultComposer.compose(value, result1, result2, result3); assertResult(result); }