test_class.declarator: CONNECTION_ID = ConnectionId.of("connection-tag-test-connection-id")
test_class.modifier: private static final
test_class.original_string: private static final ConnectionId CONNECTION_ID = ConnectionId.of("connection-tag-test-connection-id");
test_class.type: ConnectionId
test_class.var_name: CONNECTION_ID
test_class.declarator: REVISION = 5624191235L
test_class.modifier: private static final
test_class.original_string: private static final long REVISION = 5624191235L;
test_class.type: long
test_class.var_name: REVISION
test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ConnectionTag.JsonFields.ID, CONNECTION_ID.toString())
              .set(ConnectionTag.JsonFields.REVISION, REVISION)
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(ConnectionTag.JsonFields.ID, CONNECTION_ID.toString())
              .set(ConnectionTag.JsonFields.REVISION, REVISION)
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: services/models/connectivity/src/test/java/org/eclipse/ditto/services/models/connectivity/ConnectionTagTest.java
test_class.identifier: ConnectionTagTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final ConnectionTag underTest = ConnectionTag.of(CONNECTION_ID, REVISION);
          final JsonValue jsonValue = underTest.toJson();
  
          assertThat(jsonValue).isEqualTo(KNOWN_JSON);
      }
test_case.class_method_signature: ConnectionTagTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: of toJson isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.file: services/models/connectivity/src/main/java/org/eclipse/ditto/services/models/connectivity/ConnectionTag.java
focal_class.identifier: ConnectionTag
focal_class.class_method_signature: ConnectionTag.ConnectionTag(final ConnectionId id, final long revision)
focal_class.full_signature: private  ConnectionTag(final ConnectionId id, final long revision)
focal_class.identifier: ConnectionTag
focal_class.modifiers: private
focal_class.parameters: (final ConnectionId id, final long revision)
focal_class.signature:  ConnectionTag(final ConnectionId id, final long revision)
focal_class.class_method_signature: ConnectionTag.of(final ConnectionId id, final long revision)
focal_class.full_signature: public static ConnectionTag of(final ConnectionId id, final long revision)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final ConnectionId id, final long revision)
focal_class.return: ConnectionTag
focal_class.signature: ConnectionTag of(final ConnectionId id, final long revision)
focal_class.class_method_signature: ConnectionTag.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static ConnectionTag fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: ConnectionTag
focal_class.signature: ConnectionTag fromJson(final JsonObject jsonObject)
focal_class.superclass: extends AbstractEntityIdWithRevision<ConnectionId>
focal_method.body: public static ConnectionTag of(final ConnectionId id, final long revision) {
          return new ConnectionTag(id, revision);
      }
focal_method.class_method_signature: ConnectionTag.of(final ConnectionId id, final long revision)
focal_method.full_signature: public static ConnectionTag of(final ConnectionId id, final long revision)
focal_method.identifier: of
focal_method.modifiers: public static
focal_method.parameters: (final ConnectionId id, final long revision)
focal_method.return: ConnectionTag
focal_method.signature: ConnectionTag of(final ConnectionId id, final long revision)