@Test
public void closeQuietly_anObjectNotImplementingAutoCloseable_close() throws Exception {

    // given
    Object anyObject = new Object();
    // when
    catchException(() -> AutoCloseables.closeQuietly(anyObject));
    // then
    assertThat("Expected no exception to be thrown", caughtException(), nullValue());
}