test_class.declarator: KNOWN_ELEMENT_ID = "knownElementId"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_ELEMENT_ID = "knownElementId";
test_class.type: String
test_class.var_name: KNOWN_ELEMENT_ID
test_class.file: services/utils/akka/src/test/java/org/eclipse/ditto/services/utils/akka/streaming/StreamAckTest.java
test_class.identifier: StreamAckTest
test_case.body: @Test
      public void toJson() {
          final StreamAck original = StreamAck.success(KNOWN_ELEMENT_ID);
          final JsonValue serialized = original.toJson();
          final StreamAck deserialized = StreamAck.fromJson(JsonFactory.newObject(serialized.toString()));
          assertThat(deserialized)
                  .isEqualTo(original);
      }
test_case.class_method_signature: StreamAckTest.toJson()
test_case.full_signature: @Test public void toJson()
test_case.identifier: toJson
test_case.invocations: success toJson fromJson newObject toString isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJson()
focal_class.declarator: elementId
focal_class.modifier: private final
focal_class.original_string: private final String elementId;
focal_class.type: String
focal_class.var_name: elementId
focal_class.declarator: status
focal_class.modifier: private final
focal_class.original_string: private final Status status;
focal_class.type: Status
focal_class.var_name: status
focal_class.file: services/utils/akka/src/main/java/org/eclipse/ditto/services/utils/akka/streaming/StreamAck.java
focal_class.identifier: StreamAck
focal_class.interfaces: implements Jsonifiable
focal_class.class_method_signature: StreamAck.StreamAck(final String elementId, final Status status)
focal_class.full_signature: private  StreamAck(final String elementId, final Status status)
focal_class.identifier: StreamAck
focal_class.modifiers: private
focal_class.parameters: (final String elementId, final Status status)
focal_class.signature:  StreamAck(final String elementId, final Status status)
focal_class.class_method_signature: StreamAck.getElementId()
focal_class.full_signature:  String getElementId()
focal_class.identifier: getElementId
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getElementId()
focal_class.class_method_signature: StreamAck.getStatus()
focal_class.full_signature:  Status getStatus()
focal_class.identifier: getStatus
focal_class.parameters: ()
focal_class.return: Status
focal_class.signature: Status getStatus()
focal_class.class_method_signature: StreamAck.success(final String elementId)
focal_class.full_signature: public static StreamAck success(final String elementId)
focal_class.identifier: success
focal_class.modifiers: public static
focal_class.parameters: (final String elementId)
focal_class.return: StreamAck
focal_class.signature: StreamAck success(final String elementId)
focal_class.class_method_signature: StreamAck.failure(final String elementId)
focal_class.full_signature: public static StreamAck failure(final String elementId)
focal_class.identifier: failure
focal_class.modifiers: public static
focal_class.parameters: (final String elementId)
focal_class.return: StreamAck
focal_class.signature: StreamAck failure(final String elementId)
focal_class.class_method_signature: StreamAck.of(final String elementId, final Status status)
focal_class.full_signature: private static StreamAck of(final String elementId, final Status status)
focal_class.identifier: of
focal_class.modifiers: private static
focal_class.parameters: (final String elementId, final Status status)
focal_class.return: StreamAck
focal_class.signature: StreamAck of(final String elementId, final Status status)
focal_class.class_method_signature: StreamAck.toJson()
focal_class.full_signature: @Override public JsonValue toJson()
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonValue
focal_class.signature: JsonValue toJson()
focal_class.class_method_signature: StreamAck.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static StreamAck fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: StreamAck
focal_class.signature: StreamAck fromJson(final JsonObject jsonObject)
focal_class.class_method_signature: StreamAck.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: StreamAck.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: StreamAck.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 JsonValue toJson() {
          return JsonFactory.newObjectBuilder()
                  .set(JsonFields.ELEMENT_ID, elementId)
                  .set(JsonFields.STATUS, status.name())
                  .build();
      }
focal_method.class_method_signature: StreamAck.toJson()
focal_method.full_signature: @Override public JsonValue toJson()
focal_method.identifier: toJson
focal_method.invocations: build set set newObjectBuilder name
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: JsonValue
focal_method.signature: JsonValue toJson()