test_class.declarator: METHOD_SIGNATURE = ".A()"
test_class.modifier: private static final
test_class.original_string: private static final String METHOD_SIGNATURE = ".A()";
test_class.type: String
test_class.var_name: METHOD_SIGNATURE
test_class.declarator: mImpl = new Object()
test_class.modifier: private final
test_class.original_string: private final Object mImpl = new Object();
test_class.type: Object
test_class.var_name: mImpl
test_class.declarator: mMessage
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Message mMessage;
test_class.type: Message
test_class.var_name: mMessage
test_class.declarator: mThrowable
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ActorMethodInvokeException mThrowable;
test_class.type: ActorMethodInvokeException
test_class.var_name: mThrowable
test_class.file: actors-library/src/test/java/com/truecaller/androidactors/CrashEarlyFailureHandlerTest.java
test_class.identifier: CrashEarlyFailureHandlerTest
test_case.body: @SuppressWarnings({"unchecked", "ResultOfMethodCallIgnored"})
      @Test
      public void crashIfMessageFailedTest() {
          final CrashEarlyFailureHandler handler = new CrashEarlyFailureHandler();
          boolean thrown = false;
  
          try {
              handler.onUncaughtException(mImpl, mMessage, mThrowable);
          } catch (RuntimeException e) {
              thrown = true;
              Assert.assertSame(mThrowable, e);
          }
          Mockito.verify(mThrowable).setMethodSignature(mImpl.getClass(), mMessage);
          Assert.assertTrue(thrown);
      }
test_case.class_method_signature: CrashEarlyFailureHandlerTest.crashIfMessageFailedTest()
test_case.full_signature: @SuppressWarnings({"unchecked", "ResultOfMethodCallIgnored"}) @Test public void crashIfMessageFailedTest()
test_case.identifier: crashIfMessageFailedTest
test_case.invocations: onUncaughtException assertSame setMethodSignature verify getClass assertTrue
test_case.modifiers: @SuppressWarnings({"unchecked", "ResultOfMethodCallIgnored"}) @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void crashIfMessageFailedTest()
focal_class.file: actors-library/src/main/java/com/truecaller/androidactors/CrashEarlyFailureHandler.java
focal_class.identifier: CrashEarlyFailureHandler
focal_class.interfaces: implements FailureHandler
focal_class.class_method_signature: CrashEarlyFailureHandler.CrashEarlyFailureHandler()
focal_class.full_signature: public  CrashEarlyFailureHandler()
focal_class.identifier: CrashEarlyFailureHandler
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CrashEarlyFailureHandler()
focal_class.class_method_signature: CrashEarlyFailureHandler.onUncaughtException(@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)
focal_class.full_signature: @Override public void onUncaughtException(@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)
focal_class.identifier: onUncaughtException
focal_class.modifiers: @Override public
focal_class.parameters: (@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)
focal_class.return: void
focal_class.signature: void onUncaughtException(@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)
focal_method.body: @Override
      public <A, R> void onUncaughtException(@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception) {
          exception.setMethodSignature(actor.getClass(), message);
          throw exception;
      }
focal_method.class_method_signature: CrashEarlyFailureHandler.onUncaughtException(@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)
focal_method.full_signature: @Override public void onUncaughtException(@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)
focal_method.identifier: onUncaughtException
focal_method.invocations: setMethodSignature getClass
focal_method.modifiers: @Override public
focal_method.parameters: (@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)
focal_method.return: void
focal_method.signature: void onUncaughtException(@NonNull A actor,
                                             @NonNull Message<A, R> message,
                                             @NonNull ActorInvokeException exception)