hunk.code_window:     Truth.assertThat(exception.getProperty("code").getString()).isEqualTo("ERR_UNEXPECTED")
       Truth.assertThat(exception.getProperty("message").getString()).contains("java.lang.IllegalStateException")
     }
     @Test(expected = JavaScriptEvaluateException::class)
     fun uncaught_error_should_be_piped_to_host_language() = withJSIInterop(
       inlineModule {
         Name("TestModule")
         Function("f") { ->
           throw IllegalStateException()
         }
       }
     ) {
       evaluateScript("expo.modules.TestModule.f()")
     }
     @Test
     fun typed_arrays_should_be_obtainable_as_function_argument() = withJSIInterop(
       inlineModule {
         Name("TestModule")
  
hunk.labels: keep keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit: //  @Test(expected = JavaScriptEvaluateException::class)
   //  fun uncaught_error_should_be_piped_to_host_language() = withJSIInterop(
   //    inlineModule {
   //      Name("TestModule")
   //      Function("f") { ->
   //        throw IllegalStateException()
   //      }
   //    }
   //  ) {
   //    evaluateScript("expo.modules.TestModule.f()")
   //  }
  
hunk.file_path: packages/expo-modules-core/android/src/androidTest/java/expo/modules/kotlin/jni/JSIFunctionsTest.kt
hunk.type: replace
file: package abi45_0_0.host.exp.exponent.modules.universal.notifications
  
  import android.content.Context
  import host.exp.exponent.kernel.ExperienceKey
  import abi45_0_0.expo.modules.notifications.notifications.emitting.NotificationsEmitter
  import host.exp.exponent.notifications.ScopedNotificationsUtils
  import expo.modules.notifications.notifications.model.*
  
  class ScopedNotificationsEmitter(context: Context, private val experienceKey: ExperienceKey) :
    NotificationsEmitter(context) {
    private val scopedNotificationsUtils: ScopedNotificationsUtils = ScopedNotificationsUtils(context)
  
    override fun onNotificationReceived(notification: Notification) {
      if (scopedNotificationsUtils.shouldHandleNotification(notification, experienceKey)) {
        super.onNotificationReceived(notification)
      }
    }
  
    override fun onNotificationResponseReceived(response: NotificationResponse): Boolean {
      return if (scopedNotificationsUtils.shouldHandleNotification(response.notification, experienceKey)) {
        super.onNotificationResponseReceived(response)
      } else false
    }
  }
  