test_class.declarator: CLASS_NAME = "com.example.FooService"
test_class.modifier: private static final
test_class.original_string: private static final String CLASS_NAME = "com.example.FooService";
test_class.type: String
test_class.var_name: CLASS_NAME
test_class.declarator: logger
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Logger logger;
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: underTest
test_class.modifier: private
test_class.original_string: private MainMethodExceptionHandler underTest;
test_class.type: MainMethodExceptionHandler
test_class.var_name: underTest
test_class.file: services/base/src/test/java/org/eclipse/ditto/services/base/MainMethodExceptionHandlerTest.java
test_class.identifier: MainMethodExceptionHandlerTest
test_case.body: @SuppressWarnings("ConstantConditions")
      @Test
      public void tryToCreateInstanceWithNullLogger() {
          assertThatNullPointerException()
                  .isThrownBy(() -> MainMethodExceptionHandler.getInstance(null))
                  .withMessage("The %s must not be null!", "logger")
                  .withNoCause();
      }
test_case.class_method_signature: MainMethodExceptionHandlerTest.tryToCreateInstanceWithNullLogger()
test_case.full_signature: @SuppressWarnings("ConstantConditions") @Test public void tryToCreateInstanceWithNullLogger()
test_case.identifier: tryToCreateInstanceWithNullLogger
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException getInstance
test_case.modifiers: @SuppressWarnings("ConstantConditions") @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToCreateInstanceWithNullLogger()
focal_class.declarator: LOG_MESSAGE_PATTERN = "An exception occurred in main method of <{0}>!"
focal_class.modifier: static final
focal_class.original_string: static final String LOG_MESSAGE_PATTERN = "An exception occurred in main method of <{0}>!";
focal_class.type: String
focal_class.var_name: LOG_MESSAGE_PATTERN
focal_class.declarator: logger
focal_class.modifier: private final
focal_class.original_string: private final Logger logger;
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: services/base/src/main/java/org/eclipse/ditto/services/base/MainMethodExceptionHandler.java
focal_class.identifier: MainMethodExceptionHandler
focal_class.class_method_signature: MainMethodExceptionHandler.MainMethodExceptionHandler(final Logger theLogger)
focal_class.full_signature: private  MainMethodExceptionHandler(final Logger theLogger)
focal_class.identifier: MainMethodExceptionHandler
focal_class.modifiers: private
focal_class.parameters: (final Logger theLogger)
focal_class.signature:  MainMethodExceptionHandler(final Logger theLogger)
focal_class.class_method_signature: MainMethodExceptionHandler.getInstance(final Logger logger)
focal_class.full_signature: public static MainMethodExceptionHandler getInstance(final Logger logger)
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: (final Logger logger)
focal_class.return: MainMethodExceptionHandler
focal_class.signature: MainMethodExceptionHandler getInstance(final Logger logger)
focal_class.class_method_signature: MainMethodExceptionHandler.call(final Callable<ActorSystem> mainMethodBody)
focal_class.full_signature: public ActorSystem call(final Callable<ActorSystem> mainMethodBody)
focal_class.identifier: call
focal_class.modifiers: public
focal_class.parameters: (final Callable<ActorSystem> mainMethodBody)
focal_class.return: ActorSystem
focal_class.signature: ActorSystem call(final Callable<ActorSystem> mainMethodBody)
focal_class.class_method_signature: MainMethodExceptionHandler.tryToRunMainMethodBody(final Callable<ActorSystem> mainMethodBody)
focal_class.full_signature: @SuppressWarnings("squid:S1181") private ActorSystem tryToRunMainMethodBody(final Callable<ActorSystem> mainMethodBody)
focal_class.identifier: tryToRunMainMethodBody
focal_class.modifiers: @SuppressWarnings("squid:S1181") private
focal_class.parameters: (final Callable<ActorSystem> mainMethodBody)
focal_class.return: ActorSystem
focal_class.signature: ActorSystem tryToRunMainMethodBody(final Callable<ActorSystem> mainMethodBody)
focal_method.body: public static MainMethodExceptionHandler getInstance(final Logger logger) {
          return new MainMethodExceptionHandler(checkNotNull(logger, "logger"));
      }
focal_method.class_method_signature: MainMethodExceptionHandler.getInstance(final Logger logger)
focal_method.full_signature: public static MainMethodExceptionHandler getInstance(final Logger logger)
focal_method.identifier: getInstance
focal_method.invocations: checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final Logger logger)
focal_method.return: MainMethodExceptionHandler
focal_method.signature: MainMethodExceptionHandler getInstance(final Logger logger)