test_class.declarator: KNOWN_ENTITY_ID = ThingId.generateRandom()
test_class.modifier: private static final
test_class.original_string: private static final ThingId KNOWN_ENTITY_ID = ThingId.generateRandom();
test_class.type: ThingId
test_class.var_name: KNOWN_ENTITY_ID
test_class.declarator: KNOWN_STATUS_CODE = HttpStatusCode.OK
test_class.modifier: private static final
test_class.original_string: private static final HttpStatusCode KNOWN_STATUS_CODE = HttpStatusCode.OK;
test_class.type: HttpStatusCode
test_class.var_name: KNOWN_STATUS_CODE
test_class.declarator: KNOWN_PAYLOAD = JsonObject.newBuilder().set("known", "payload").build()
test_class.modifier: private static final
test_class.original_string: private static final JsonValue KNOWN_PAYLOAD = JsonObject.newBuilder().set("known", "payload").build();
test_class.type: JsonValue
test_class.var_name: KNOWN_PAYLOAD
test_class.declarator: KNOWN_DITTO_HEADERS = DittoHeaders.newBuilder().randomCorrelationId().build()
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaders KNOWN_DITTO_HEADERS = DittoHeaders.newBuilder().randomCorrelationId().build();
test_class.type: DittoHeaders
test_class.var_name: KNOWN_DITTO_HEADERS
test_class.declarator: KNOWN_ACK_1 =
              ImmutableAcknowledgement.of(AcknowledgementLabel.of("welcome-ack"), KNOWN_ENTITY_ID, KNOWN_STATUS_CODE,
                      KNOWN_DITTO_HEADERS, KNOWN_PAYLOAD)
test_class.modifier: private static final
test_class.original_string: private static final Acknowledgement KNOWN_ACK_1 =
              ImmutableAcknowledgement.of(AcknowledgementLabel.of("welcome-ack"), KNOWN_ENTITY_ID, KNOWN_STATUS_CODE,
                      KNOWN_DITTO_HEADERS, KNOWN_PAYLOAD);
test_class.type: Acknowledgement
test_class.var_name: KNOWN_ACK_1
test_class.declarator: KNOWN_ACK_2 =
              ImmutableAcknowledgement.of(DittoAcknowledgementLabel.TWIN_PERSISTED, KNOWN_ENTITY_ID, KNOWN_STATUS_CODE,
                      KNOWN_DITTO_HEADERS, KNOWN_PAYLOAD)
test_class.modifier: private static final
test_class.original_string: private static final Acknowledgement KNOWN_ACK_2 =
              ImmutableAcknowledgement.of(DittoAcknowledgementLabel.TWIN_PERSISTED, KNOWN_ENTITY_ID, KNOWN_STATUS_CODE,
                      KNOWN_DITTO_HEADERS, KNOWN_PAYLOAD);
test_class.type: Acknowledgement
test_class.var_name: KNOWN_ACK_2
test_class.declarator: knownAcknowledgements
test_class.modifier: private static
test_class.original_string: private static List<Acknowledgement> knownAcknowledgements;
test_class.type: List<Acknowledgement>
test_class.var_name: knownAcknowledgements
test_class.declarator: knownAcknowledgementsJsonRepresentation
test_class.modifier: private static
test_class.original_string: private static JsonObject knownAcknowledgementsJsonRepresentation;
test_class.type: JsonObject
test_class.var_name: knownAcknowledgementsJsonRepresentation
test_class.declarator: knownAcknowledgementsGetEntityJsonRepresentation
test_class.modifier: private static
test_class.original_string: private static JsonObject knownAcknowledgementsGetEntityJsonRepresentation;
test_class.type: JsonObject
test_class.var_name: knownAcknowledgementsGetEntityJsonRepresentation
test_class.declarator: knownJsonRepresentation
test_class.modifier: private static
test_class.original_string: private static JsonObject knownJsonRepresentation;
test_class.type: JsonObject
test_class.var_name: knownJsonRepresentation
test_class.declarator: knownAcknowledgementsWith2Acks
test_class.modifier: private static
test_class.original_string: private static ImmutableAcknowledgements knownAcknowledgementsWith2Acks;
test_class.type: ImmutableAcknowledgements
test_class.var_name: knownAcknowledgementsWith2Acks
test_class.file: signals/acks/base/src/test/java/org/eclipse/ditto/signals/acks/base/ImmutableAcknowledgementsTest.java
test_class.identifier: ImmutableAcknowledgementsTest
test_case.body: @Test
      public void tryToGetInstanceWithNullDittoHeaders() {
          assertThatNullPointerException()
                  .isThrownBy(() -> ImmutableAcknowledgements.of(knownAcknowledgements, null))
                  .withMessage("The dittoHeaders must not be null!")
                  .withNoCause();
      }
test_case.class_method_signature: ImmutableAcknowledgementsTest.tryToGetInstanceWithNullDittoHeaders()
test_case.full_signature: @Test public void tryToGetInstanceWithNullDittoHeaders()
test_case.identifier: tryToGetInstanceWithNullDittoHeaders
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException of
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToGetInstanceWithNullDittoHeaders()
focal_class.declarator: entityId
focal_class.modifier: private final
focal_class.original_string: private final EntityIdWithType entityId;
focal_class.type: EntityIdWithType
focal_class.var_name: entityId
focal_class.declarator: acknowledgements
focal_class.modifier: private final
focal_class.original_string: private final List<Acknowledgement> acknowledgements;
focal_class.type: List<Acknowledgement>
focal_class.var_name: acknowledgements
focal_class.declarator: statusCode
focal_class.modifier: private final
focal_class.original_string: private final HttpStatusCode statusCode;
focal_class.type: HttpStatusCode
focal_class.var_name: statusCode
focal_class.declarator: dittoHeaders
focal_class.modifier: private final
focal_class.original_string: private final DittoHeaders dittoHeaders;
focal_class.type: DittoHeaders
focal_class.var_name: dittoHeaders
focal_class.file: signals/acks/base/src/main/java/org/eclipse/ditto/signals/acks/base/ImmutableAcknowledgements.java
focal_class.identifier: ImmutableAcknowledgements
focal_class.interfaces: implements Acknowledgements
focal_class.class_method_signature: ImmutableAcknowledgements.ImmutableAcknowledgements(final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  ImmutableAcknowledgements(final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.identifier: ImmutableAcknowledgements
focal_class.modifiers: private
focal_class.parameters: (final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.signature:  ImmutableAcknowledgements(final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ImmutableAcknowledgements.of(final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: static ImmutableAcknowledgements of(final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: static
focal_class.parameters: (final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)
focal_class.return: ImmutableAcknowledgements
focal_class.signature: ImmutableAcknowledgements of(final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ImmutableAcknowledgements.of(final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: static ImmutableAcknowledgements of(final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: static
focal_class.parameters: (final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.return: ImmutableAcknowledgements
focal_class.signature: ImmutableAcknowledgements of(final EntityIdWithType entityId,
              final Collection<? extends Acknowledgement> acknowledgements,
              final HttpStatusCode statusCode,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ImmutableAcknowledgements.getEntityId(final Iterable<? extends Acknowledgement> acknowledgements)
focal_class.full_signature: private static EntityIdWithType getEntityId(final Iterable<? extends Acknowledgement> acknowledgements)
focal_class.identifier: getEntityId
focal_class.modifiers: private static
focal_class.parameters: (final Iterable<? extends Acknowledgement> acknowledgements)
focal_class.return: EntityIdWithType
focal_class.signature: EntityIdWithType getEntityId(final Iterable<? extends Acknowledgement> acknowledgements)
focal_class.class_method_signature: ImmutableAcknowledgements.getCombinedStatusCode(final Collection<? extends Acknowledgement> acknowledgements)
focal_class.full_signature: private static HttpStatusCode getCombinedStatusCode(final Collection<? extends Acknowledgement> acknowledgements)
focal_class.identifier: getCombinedStatusCode
focal_class.modifiers: private static
focal_class.parameters: (final Collection<? extends Acknowledgement> acknowledgements)
focal_class.return: HttpStatusCode
focal_class.signature: HttpStatusCode getCombinedStatusCode(final Collection<? extends Acknowledgement> acknowledgements)
focal_class.class_method_signature: ImmutableAcknowledgements.empty(final EntityIdWithType entityId, final DittoHeaders dittoHeaders)
focal_class.full_signature: static ImmutableAcknowledgements empty(final EntityIdWithType entityId, final DittoHeaders dittoHeaders)
focal_class.identifier: empty
focal_class.modifiers: static
focal_class.parameters: (final EntityIdWithType entityId, final DittoHeaders dittoHeaders)
focal_class.return: ImmutableAcknowledgements
focal_class.signature: ImmutableAcknowledgements empty(final EntityIdWithType entityId, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ImmutableAcknowledgements.getStatusCode()
focal_class.full_signature: @Override public HttpStatusCode getStatusCode()
focal_class.identifier: getStatusCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: HttpStatusCode
focal_class.signature: HttpStatusCode getStatusCode()
focal_class.class_method_signature: ImmutableAcknowledgements.getMissingAcknowledgementLabels()
focal_class.full_signature: @Override public Set<AcknowledgementLabel> getMissingAcknowledgementLabels()
focal_class.identifier: getMissingAcknowledgementLabels
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<AcknowledgementLabel>
focal_class.signature: Set<AcknowledgementLabel> getMissingAcknowledgementLabels()
focal_class.class_method_signature: ImmutableAcknowledgements.getSuccessfulAcknowledgements()
focal_class.full_signature: @Override public Set<Acknowledgement> getSuccessfulAcknowledgements()
focal_class.identifier: getSuccessfulAcknowledgements
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<Acknowledgement>
focal_class.signature: Set<Acknowledgement> getSuccessfulAcknowledgements()
focal_class.class_method_signature: ImmutableAcknowledgements.getFailedAcknowledgements()
focal_class.full_signature: @Override public Set<Acknowledgement> getFailedAcknowledgements()
focal_class.identifier: getFailedAcknowledgements
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<Acknowledgement>
focal_class.signature: Set<Acknowledgement> getFailedAcknowledgements()
focal_class.class_method_signature: ImmutableAcknowledgements.getAcknowledgement(final AcknowledgementLabel acknowledgementLabel)
focal_class.full_signature: @Override public Optional<Acknowledgement> getAcknowledgement(final AcknowledgementLabel acknowledgementLabel)
focal_class.identifier: getAcknowledgement
focal_class.modifiers: @Override public
focal_class.parameters: (final AcknowledgementLabel acknowledgementLabel)
focal_class.return: Optional<Acknowledgement>
focal_class.signature: Optional<Acknowledgement> getAcknowledgement(final AcknowledgementLabel acknowledgementLabel)
focal_class.class_method_signature: ImmutableAcknowledgements.iterator()
focal_class.full_signature: @Override public Iterator<Acknowledgement> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<Acknowledgement>
focal_class.signature: Iterator<Acknowledgement> iterator()
focal_class.class_method_signature: ImmutableAcknowledgements.getSize()
focal_class.full_signature: @Override public int getSize()
focal_class.identifier: getSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSize()
focal_class.class_method_signature: ImmutableAcknowledgements.isEmpty()
focal_class.full_signature: @Override public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: ImmutableAcknowledgements.stream()
focal_class.full_signature: @Override public Stream<Acknowledgement> stream()
focal_class.identifier: stream
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Stream<Acknowledgement>
focal_class.signature: Stream<Acknowledgement> stream()
focal_class.class_method_signature: ImmutableAcknowledgements.getDittoHeaders()
focal_class.full_signature: @Override public DittoHeaders getDittoHeaders()
focal_class.identifier: getDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DittoHeaders
focal_class.signature: DittoHeaders getDittoHeaders()
focal_class.class_method_signature: ImmutableAcknowledgements.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public ImmutableAcknowledgements setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: ImmutableAcknowledgements
focal_class.signature: ImmutableAcknowledgements setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ImmutableAcknowledgements.getEntityId()
focal_class.full_signature: @Override public EntityIdWithType getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: EntityIdWithType
focal_class.signature: EntityIdWithType getEntityId()
focal_class.class_method_signature: ImmutableAcknowledgements.getEntityType()
focal_class.full_signature: @Override public EntityType getEntityType()
focal_class.identifier: getEntityType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: EntityType
focal_class.signature: EntityType getEntityType()
focal_class.class_method_signature: ImmutableAcknowledgements.getType()
focal_class.full_signature: @Override public String getType()
focal_class.identifier: getType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: ImmutableAcknowledgements.getEntity(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: @Override public Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.identifier: getEntity
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: Optional<JsonValue>
focal_class.signature: Optional<JsonValue> getEntity(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: ImmutableAcknowledgements.acknowledgementsEntitiesToJson(final JsonSchemaVersion schemaVersion)
focal_class.full_signature: private JsonObject acknowledgementsEntitiesToJson(final JsonSchemaVersion schemaVersion)
focal_class.identifier: acknowledgementsEntitiesToJson
focal_class.modifiers: private
focal_class.parameters: (final JsonSchemaVersion schemaVersion)
focal_class.return: JsonObject
focal_class.signature: JsonObject acknowledgementsEntitiesToJson(final JsonSchemaVersion schemaVersion)
focal_class.class_method_signature: ImmutableAcknowledgements.buildHeadersJson(final DittoHeaders dittoHeaders)
focal_class.full_signature: private static JsonObject buildHeadersJson(final DittoHeaders dittoHeaders)
focal_class.identifier: buildHeadersJson
focal_class.modifiers: private static
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: JsonObject
focal_class.signature: JsonObject buildHeadersJson(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ImmutableAcknowledgements.acknowledgementsToJsonWithDisambiguation(final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate,
              final AcknowledgementToJson acknowledgementToJson)
focal_class.full_signature: private JsonObject acknowledgementsToJsonWithDisambiguation(final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate,
              final AcknowledgementToJson acknowledgementToJson)
focal_class.identifier: acknowledgementsToJsonWithDisambiguation
focal_class.modifiers: private
focal_class.parameters: (final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate,
              final AcknowledgementToJson acknowledgementToJson)
focal_class.return: JsonObject
focal_class.signature: JsonObject acknowledgementsToJsonWithDisambiguation(final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> predicate,
              final AcknowledgementToJson acknowledgementToJson)
focal_class.class_method_signature: ImmutableAcknowledgements.toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override public JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: ImmutableAcknowledgements.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: ImmutableAcknowledgements.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: ImmutableAcknowledgements.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: static ImmutableAcknowledgements of(final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders) {
  
          argumentNotEmpty(acknowledgements, "acknowledgements");
  
          return new ImmutableAcknowledgements(getEntityId(acknowledgements), acknowledgements,
                  getCombinedStatusCode(acknowledgements), dittoHeaders);
      }
focal_method.class_method_signature: ImmutableAcknowledgements.of(final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)
focal_method.full_signature: static ImmutableAcknowledgements of(final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)
focal_method.identifier: of
focal_method.invocations: argumentNotEmpty getEntityId getCombinedStatusCode
focal_method.modifiers: static
focal_method.parameters: (final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)
focal_method.return: ImmutableAcknowledgements
focal_method.signature: ImmutableAcknowledgements of(final Collection<? extends Acknowledgement> acknowledgements,
              final DittoHeaders dittoHeaders)