@Test
public void createCompositeException_withSingleInnerException() {

  IOException inner = new IOException("inner exception");
  IOException compositeException = createCompositeException(ImmutableList.of(inner));
  assertThat(inner).isSameInstanceAs(compositeException);
}