Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errorThrowingMethod (0.06 sec)

  1. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        assertThat(expected).hasCauseThat().isInstanceOf(IntentionalException.class);
      }
    
      public void testInvokeSubscriberMethod_errorPassthrough() throws Throwable {
        Method method = getTestSubscriberMethod("errorThrowingMethod");
        Subscriber subscriber = Subscriber.create(bus, this, method);
    
        assertThrows(JudgmentError.class, () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top