test_class.file: saga-lib/src/test/java/com/codebullets/sagalib/AutoCloseablesTest.java
test_class.identifier: AutoCloseablesTest
test_case.body: @Test
      public void closeQuietly_autoCloseableThrows_doNotPropagate() throws Exception {
          // given
          AutoCloseable closeable = mock(AutoCloseable.class);
          doThrow(IllegalStateException.class).when(closeable).close();
  
          // when
          catchException(() -> AutoCloseables.closeQuietly(closeable));
  
          // then
          assertThat("Expected no exception to be thrown", caughtException(), nullValue());
      }
test_case.class_method_signature: AutoCloseablesTest.closeQuietly_autoCloseableThrows_doNotPropagate()
test_case.full_signature: @Test public void closeQuietly_autoCloseableThrows_doNotPropagate()
test_case.identifier: closeQuietly_autoCloseableThrows_doNotPropagate
test_case.invocations: mock close when doThrow catchException closeQuietly assertThat caughtException nullValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void closeQuietly_autoCloseableThrows_doNotPropagate()
focal_class.declarator: LOG = LoggerFactory.getLogger(AutoCloseables.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(AutoCloseables.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.file: saga-lib/src/main/java/com/codebullets/sagalib/AutoCloseables.java
focal_class.identifier: AutoCloseables
focal_class.class_method_signature: AutoCloseables.AutoCloseables()
focal_class.full_signature: private  AutoCloseables()
focal_class.identifier: AutoCloseables
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  AutoCloseables()
focal_class.class_method_signature: AutoCloseables.closeQuietly(@Nullable final Iterable<T> iterable)
focal_class.full_signature: public static void closeQuietly(@Nullable final Iterable<T> iterable)
focal_class.identifier: closeQuietly
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final Iterable<T> iterable)
focal_class.return: void
focal_class.signature: void closeQuietly(@Nullable final Iterable<T> iterable)
focal_class.class_method_signature: AutoCloseables.closeQuietly(@Nullable final Object object)
focal_class.full_signature: public static void closeQuietly(@Nullable final Object object)
focal_class.identifier: closeQuietly
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final Object object)
focal_class.return: void
focal_class.signature: void closeQuietly(@Nullable final Object object)
focal_class.class_method_signature: AutoCloseables.closeQuietly(@Nullable final AutoCloseable closeable)
focal_class.full_signature: public static void closeQuietly(@Nullable final AutoCloseable closeable)
focal_class.identifier: closeQuietly
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final AutoCloseable closeable)
focal_class.return: void
focal_class.signature: void closeQuietly(@Nullable final AutoCloseable closeable)
focal_method.body: public static <T> void closeQuietly(@Nullable final Iterable<T> iterable) {
          if (iterable != null) {
              iterable.forEach(AutoCloseables::closeQuietly);
          }
      }
focal_method.class_method_signature: AutoCloseables.closeQuietly(@Nullable final Iterable<T> iterable)
focal_method.full_signature: public static void closeQuietly(@Nullable final Iterable<T> iterable)
focal_method.identifier: closeQuietly
focal_method.invocations: forEach
focal_method.modifiers: public static
focal_method.parameters: (@Nullable final Iterable<T> iterable)
focal_method.return: void
focal_method.signature: void closeQuietly(@Nullable final Iterable<T> iterable)