test_class.declarator: underTest
test_class.modifier: private
test_class.original_string: private ThingModifyCommandResponseAdapter underTest;
test_class.type: ThingModifyCommandResponseAdapter
test_class.var_name: underTest
test_class.file: protocol-adapter/src/test/java/org/eclipse/ditto/protocoladapter/things/ThingModifyCommandResponseAdapterTest.java
test_class.identifier: ThingModifyCommandResponseAdapterTest
test_class.interfaces: implements ProtocolAdapterTest
test_class.superclass: extends LiveTwinTest
test_case.body: @Test
      public void modifyAclEntryResponseFromAdaptable() {
          final TopicPath topicPath = topicPath(TopicPath.Action.MODIFY);
          final JsonPointer path = JsonPointer.of("/acl/" + TestConstants.AUTHORIZATION_SUBJECT.getId());
  
          final ModifyAclEntryResponse expectedCreated =
                  ModifyAclEntryResponse.created(TestConstants.THING_ID, TestConstants.ACL_ENTRY,
                          TestConstants.DITTO_HEADERS_V_1);
  
          final Adaptable adaptableCreated = Adaptable.newBuilder(topicPath)
                  .withPayload(Payload.newBuilder(path)
                          .withStatus(HttpStatusCode.CREATED)
                          .withValue(TestConstants.ACL_ENTRY.getPermissions().toJson())
                          .build())
                  .withHeaders(TestConstants.HEADERS_V_1)
                  .build();
          final ThingModifyCommandResponse<?> actualCreated = underTest.fromAdaptable(adaptableCreated);
  
          assertWithExternalHeadersThat(actualCreated).isEqualTo(expectedCreated);
  
          final ModifyAclEntryResponse expectedModified =
                  ModifyAclEntryResponse.modified(TestConstants.THING_ID, TestConstants.ACL_ENTRY,
                          TestConstants.DITTO_HEADERS_V_1);
  
          final Adaptable adaptableModified = Adaptable.newBuilder(topicPath)
                  .withPayload(Payload.newBuilder(path)
                          .withStatus(HttpStatusCode.NO_CONTENT)
                          .withValue(TestConstants.ACL_ENTRY.getPermissions().toJson())
                          .build())
                  .withHeaders(TestConstants.HEADERS_V_1)
                  .build();
          final ThingModifyCommandResponse<?> actualModified = underTest.fromAdaptable(adaptableModified);
  
          assertWithExternalHeadersThat(actualModified).isEqualTo(expectedModified);
      }
test_case.class_method_signature: ThingModifyCommandResponseAdapterTest.modifyAclEntryResponseFromAdaptable()
test_case.full_signature: @Test public void modifyAclEntryResponseFromAdaptable()
test_case.identifier: modifyAclEntryResponseFromAdaptable
test_case.invocations: topicPath of getId created build withHeaders withPayload newBuilder build withValue withStatus newBuilder toJson getPermissions fromAdaptable isEqualTo assertWithExternalHeadersThat modified build withHeaders withPayload newBuilder build withValue withStatus newBuilder toJson getPermissions fromAdaptable isEqualTo assertWithExternalHeadersThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void modifyAclEntryResponseFromAdaptable()
focal_class.declarator: signalMapper = SignalMapperFactory.newThingModifyResponseSignalMapper()
focal_class.modifier: private final
focal_class.original_string: private final SignalMapper<ThingModifyCommandResponse<?>>
              signalMapper = SignalMapperFactory.newThingModifyResponseSignalMapper();
focal_class.type: SignalMapper<ThingModifyCommandResponse<?>>
focal_class.var_name: signalMapper
focal_class.file: protocol-adapter/src/main/java/org/eclipse/ditto/protocoladapter/things/ThingModifyCommandResponseAdapter.java
focal_class.identifier: ThingModifyCommandResponseAdapter
focal_class.interfaces: implements ModifyCommandResponseAdapter<ThingModifyCommandResponse<?>>
focal_class.class_method_signature: ThingModifyCommandResponseAdapter.ThingModifyCommandResponseAdapter(final HeaderTranslator headerTranslator)
focal_class.full_signature: private  ThingModifyCommandResponseAdapter(final HeaderTranslator headerTranslator)
focal_class.identifier: ThingModifyCommandResponseAdapter
focal_class.modifiers: private
focal_class.parameters: (final HeaderTranslator headerTranslator)
focal_class.signature:  ThingModifyCommandResponseAdapter(final HeaderTranslator headerTranslator)
focal_class.class_method_signature: ThingModifyCommandResponseAdapter.of(final HeaderTranslator headerTranslator)
focal_class.full_signature: public static ThingModifyCommandResponseAdapter of(final HeaderTranslator headerTranslator)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final HeaderTranslator headerTranslator)
focal_class.return: ThingModifyCommandResponseAdapter
focal_class.signature: ThingModifyCommandResponseAdapter of(final HeaderTranslator headerTranslator)
focal_class.class_method_signature: ThingModifyCommandResponseAdapter.getTypeCriterionAsString(final TopicPath topicPath)
focal_class.full_signature: @Override protected String getTypeCriterionAsString(final TopicPath topicPath)
focal_class.identifier: getTypeCriterionAsString
focal_class.modifiers: @Override protected
focal_class.parameters: (final TopicPath topicPath)
focal_class.return: String
focal_class.signature: String getTypeCriterionAsString(final TopicPath topicPath)
focal_class.class_method_signature: ThingModifyCommandResponseAdapter.mapSignalToAdaptable(final ThingModifyCommandResponse<?> signal,
              final TopicPath.Channel channel)
focal_class.full_signature: @Override protected Adaptable mapSignalToAdaptable(final ThingModifyCommandResponse<?> signal,
              final TopicPath.Channel channel)
focal_class.identifier: mapSignalToAdaptable
focal_class.modifiers: @Override protected
focal_class.parameters: (final ThingModifyCommandResponse<?> signal,
              final TopicPath.Channel channel)
focal_class.return: Adaptable
focal_class.signature: Adaptable mapSignalToAdaptable(final ThingModifyCommandResponse<?> signal,
              final TopicPath.Channel channel)
focal_class.superclass: extends AbstractThingAdapter<ThingModifyCommandResponse<?>>
focal_method.body: public static ThingModifyCommandResponseAdapter of(final HeaderTranslator headerTranslator) {
          return new ThingModifyCommandResponseAdapter(requireNonNull(headerTranslator));
      }
focal_method.class_method_signature: ThingModifyCommandResponseAdapter.of(final HeaderTranslator headerTranslator)
focal_method.full_signature: public static ThingModifyCommandResponseAdapter of(final HeaderTranslator headerTranslator)
focal_method.identifier: of
focal_method.invocations: requireNonNull
focal_method.modifiers: public static
focal_method.parameters: (final HeaderTranslator headerTranslator)
focal_method.return: ThingModifyCommandResponseAdapter
focal_method.signature: ThingModifyCommandResponseAdapter of(final HeaderTranslator headerTranslator)