test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyTag.JsonFields.ID, TestConstants.Policy.POLICY_ID.toString())
              .set(PolicyTag.JsonFields.REVISION, TestConstants.Policy.REVISION_NUMBER)
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyTag.JsonFields.ID, TestConstants.Policy.POLICY_ID.toString())
              .set(PolicyTag.JsonFields.REVISION, TestConstants.Policy.REVISION_NUMBER)
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: services/models/policies/src/test/java/org/eclipse/ditto/services/models/policies/PolicyTagTest.java
test_class.identifier: PolicyTagTest
test_case.body: @Test
      public void createInstanceFromValidJson() {
  
          final PolicyTag underTest = PolicyTag.fromJson(KNOWN_JSON);
  
          assertThat(underTest).isNotNull();
          assertThat((CharSequence) underTest.getEntityId()).isEqualTo(TestConstants.Policy.POLICY_ID);
          assertThat(underTest.getRevision()).isEqualTo(TestConstants.Policy.REVISION_NUMBER);
      }
test_case.class_method_signature: PolicyTagTest.createInstanceFromValidJson()
test_case.full_signature: @Test public void createInstanceFromValidJson()
test_case.identifier: createInstanceFromValidJson
test_case.invocations: fromJson isNotNull assertThat isEqualTo assertThat getEntityId isEqualTo assertThat getRevision
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void createInstanceFromValidJson()
focal_class.file: services/models/policies/src/main/java/org/eclipse/ditto/services/models/policies/PolicyTag.java
focal_class.identifier: PolicyTag
focal_class.class_method_signature: PolicyTag.PolicyTag(final PolicyId policyId, final long revision)
focal_class.full_signature: private  PolicyTag(final PolicyId policyId, final long revision)
focal_class.identifier: PolicyTag
focal_class.modifiers: private
focal_class.parameters: (final PolicyId policyId, final long revision)
focal_class.signature:  PolicyTag(final PolicyId policyId, final long revision)
focal_class.class_method_signature: PolicyTag.of(final PolicyId policyId, final long revision)
focal_class.full_signature: public static PolicyTag of(final PolicyId policyId, final long revision)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId, final long revision)
focal_class.return: PolicyTag
focal_class.signature: PolicyTag of(final PolicyId policyId, final long revision)
focal_class.class_method_signature: PolicyTag.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static PolicyTag fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: PolicyTag
focal_class.signature: PolicyTag fromJson(final JsonObject jsonObject)
focal_class.superclass: extends AbstractEntityIdWithRevision<PolicyId>
focal_method.body: public static PolicyTag fromJson(final JsonObject jsonObject) {
          checkNotNull(jsonObject, "JSON object");
          final PolicyId policyId = PolicyId.of(jsonObject.getValueOrThrow(JsonFields.ID));
          final Long revision = jsonObject.getValueOrThrow(JsonFields.REVISION);
  
          return new PolicyTag(policyId, revision);
      }
focal_method.class_method_signature: PolicyTag.fromJson(final JsonObject jsonObject)
focal_method.full_signature: public static PolicyTag fromJson(final JsonObject jsonObject)
focal_method.identifier: fromJson
focal_method.invocations: checkNotNull of getValueOrThrow getValueOrThrow
focal_method.modifiers: public static
focal_method.parameters: (final JsonObject jsonObject)
focal_method.return: PolicyTag
focal_method.signature: PolicyTag fromJson(final JsonObject jsonObject)