@Test
public void createFileNotFoundException_withCause() {

  IOException cause = new IOException("cause exception");
  FileNotFoundException e = createFileNotFoundException("bucket", "object", cause);
  assertThat(e).hasCauseThat().isSameInstanceAs(cause);
}