test_class.declarator: KNOWN_LEVEL = StatusDetailMessage.Level.ERROR
test_class.modifier: private static final
test_class.original_string: private static final StatusDetailMessage.Level KNOWN_LEVEL = StatusDetailMessage.Level.ERROR;
test_class.type: StatusDetailMessage.Level
test_class.var_name: KNOWN_LEVEL
test_class.declarator: KNOWN_MESSAGE_STR = "errorMsg"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_MESSAGE_STR = "errorMsg";
test_class.type: String
test_class.var_name: KNOWN_MESSAGE_STR
test_class.declarator: KNOWN_MESSAGE =
              StatusDetailMessage.of(KNOWN_LEVEL, KNOWN_MESSAGE_STR)
test_class.modifier: private static
test_class.original_string: private static StatusDetailMessage KNOWN_MESSAGE =
              StatusDetailMessage.of(KNOWN_LEVEL, KNOWN_MESSAGE_STR);
test_class.type: StatusDetailMessage
test_class.var_name: KNOWN_MESSAGE
test_class.declarator: KNOWN_MESSAGE_JSON = JsonFactory.newObjectBuilder()
              .set(KNOWN_LEVEL.toString(), KNOWN_MESSAGE_STR)
              .build()
test_class.modifier: private static
test_class.original_string: private static JsonObject KNOWN_MESSAGE_JSON = JsonFactory.newObjectBuilder()
              .set(KNOWN_LEVEL.toString(), KNOWN_MESSAGE_STR)
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_MESSAGE_JSON
test_class.file: services/utils/health/src/test/java/org/eclipse/ditto/services/utils/health/StatusDetailMessageTest.java
test_class.identifier: StatusDetailMessageTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final JsonObject actualJson = KNOWN_MESSAGE.toJson();
  
          assertThat(actualJson).isEqualTo(KNOWN_MESSAGE_JSON);
      }
test_case.class_method_signature: StatusDetailMessageTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: toJson isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: level
focal_class.modifier: private final
focal_class.original_string: private final Level level;
focal_class.type: Level
focal_class.var_name: level
focal_class.declarator: message
focal_class.modifier: private final
focal_class.original_string: private final JsonValue message;
focal_class.type: JsonValue
focal_class.var_name: message
focal_class.file: services/utils/health/src/main/java/org/eclipse/ditto/services/utils/health/StatusDetailMessage.java
focal_class.identifier: StatusDetailMessage
focal_class.interfaces: implements Jsonifiable<JsonObject>
focal_class.class_method_signature: StatusDetailMessage.StatusDetailMessage(final Level level, final JsonValue message)
focal_class.full_signature: private  StatusDetailMessage(final Level level, final JsonValue message)
focal_class.identifier: StatusDetailMessage
focal_class.modifiers: private
focal_class.parameters: (final Level level, final JsonValue message)
focal_class.signature:  StatusDetailMessage(final Level level, final JsonValue message)
focal_class.class_method_signature: StatusDetailMessage.of(final Level level, final String message)
focal_class.full_signature: public static StatusDetailMessage of(final Level level, final String message)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final Level level, final String message)
focal_class.return: StatusDetailMessage
focal_class.signature: StatusDetailMessage of(final Level level, final String message)
focal_class.class_method_signature: StatusDetailMessage.of(final Level level, final JsonValue message)
focal_class.full_signature: public static StatusDetailMessage of(final Level level, final JsonValue message)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final Level level, final JsonValue message)
focal_class.return: StatusDetailMessage
focal_class.signature: StatusDetailMessage of(final Level level, final JsonValue message)
focal_class.class_method_signature: StatusDetailMessage.warn(@Nullable final Throwable throwable)
focal_class.full_signature: public static StatusDetailMessage warn(@Nullable final Throwable throwable)
focal_class.identifier: warn
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final Throwable throwable)
focal_class.return: StatusDetailMessage
focal_class.signature: StatusDetailMessage warn(@Nullable final Throwable throwable)
focal_class.class_method_signature: StatusDetailMessage.toJson()
focal_class.full_signature: @Override public JsonObject toJson()
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson()
focal_class.class_method_signature: StatusDetailMessage.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static StatusDetailMessage fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: StatusDetailMessage
focal_class.signature: StatusDetailMessage fromJson(final JsonObject jsonObject)
focal_class.class_method_signature: StatusDetailMessage.getLevel()
focal_class.full_signature: public Level getLevel()
focal_class.identifier: getLevel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Level
focal_class.signature: Level getLevel()
focal_class.class_method_signature: StatusDetailMessage.getMessage()
focal_class.full_signature: public JsonValue getMessage()
focal_class.identifier: getMessage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: JsonValue
focal_class.signature: JsonValue getMessage()
focal_class.class_method_signature: StatusDetailMessage.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: StatusDetailMessage.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: StatusDetailMessage.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public JsonObject toJson() {
          return JsonObject.newBuilder()
                  .set(level.toString(), message)
                  .build();
      }
focal_method.class_method_signature: StatusDetailMessage.toJson()
focal_method.full_signature: @Override public JsonObject toJson()
focal_method.identifier: toJson
focal_method.invocations: build set newBuilder toString
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: JsonObject
focal_method.signature: JsonObject toJson()