test_class.declarator: underTest
test_class.modifier: private
test_class.original_string: private ThingEventAdapter underTest;
test_class.type: ThingEventAdapter
test_class.var_name: underTest
test_class.file: protocol-adapter/src/test/java/org/eclipse/ditto/protocoladapter/things/ThingEventAdapterTest.java
test_class.identifier: ThingEventAdapterTest
test_class.interfaces: implements ProtocolAdapterTest
test_class.superclass: extends LiveTwinTest
test_case.body: @Test
      public void featureDefinitionDeletedToAdaptable() {
          final JsonPointer path = JsonPointer.of("/features/" + TestConstants.FEATURE_ID + "/definition");
  
          final Adaptable expected = Adaptable.newBuilder(topicPathDeleted())
                  .withPayload(Payload.newBuilder(path)
                          .withRevision(TestConstants.REVISION)
                          .build())
                  .withHeaders(TestConstants.HEADERS_V_2)
                  .build();
  
          final FeatureDefinitionDeleted featureDefinitionDeleted = FeatureDefinitionDeleted.of(TestConstants.THING_ID,
                  TestConstants.FEATURE_ID, TestConstants.REVISION,
                  setChannelHeader(TestConstants.HEADERS_V_2_NO_CONTENT_TYPE));
          final Adaptable actual = underTest.toAdaptable(featureDefinitionDeleted, channel);
  
          assertWithExternalHeadersThat(actual).isEqualTo(expected);
      }
test_case.class_method_signature: ThingEventAdapterTest.featureDefinitionDeletedToAdaptable()
test_case.full_signature: @Test public void featureDefinitionDeletedToAdaptable()
test_case.identifier: featureDefinitionDeletedToAdaptable
test_case.invocations: of build withHeaders withPayload newBuilder topicPathDeleted build withRevision newBuilder of setChannelHeader toAdaptable isEqualTo assertWithExternalHeadersThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void featureDefinitionDeletedToAdaptable()
focal_class.file: protocol-adapter/src/main/java/org/eclipse/ditto/protocoladapter/things/ThingEventAdapter.java
focal_class.identifier: ThingEventAdapter
focal_class.interfaces: implements EventAdapter<ThingEvent<?>>
focal_class.class_method_signature: ThingEventAdapter.ThingEventAdapter(final HeaderTranslator headerTranslator)
focal_class.full_signature: private  ThingEventAdapter(final HeaderTranslator headerTranslator)
focal_class.identifier: ThingEventAdapter
focal_class.modifiers: private
focal_class.parameters: (final HeaderTranslator headerTranslator)
focal_class.signature:  ThingEventAdapter(final HeaderTranslator headerTranslator)
focal_class.class_method_signature: ThingEventAdapter.of(final HeaderTranslator headerTranslator)
focal_class.full_signature: public static ThingEventAdapter of(final HeaderTranslator headerTranslator)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final HeaderTranslator headerTranslator)
focal_class.return: ThingEventAdapter
focal_class.signature: ThingEventAdapter of(final HeaderTranslator headerTranslator)
focal_class.class_method_signature: ThingEventAdapter.getActionNameWithFirstLetterUpperCase(final TopicPath topicPath)
focal_class.full_signature: private static String getActionNameWithFirstLetterUpperCase(final TopicPath topicPath)
focal_class.identifier: getActionNameWithFirstLetterUpperCase
focal_class.modifiers: private static
focal_class.parameters: (final TopicPath topicPath)
focal_class.return: String
focal_class.signature: String getActionNameWithFirstLetterUpperCase(final TopicPath topicPath)
focal_class.class_method_signature: ThingEventAdapter.getType(final Adaptable adaptable)
focal_class.full_signature: @Override protected String getType(final Adaptable adaptable)
focal_class.identifier: getType
focal_class.modifiers: @Override protected
focal_class.parameters: (final Adaptable adaptable)
focal_class.return: String
focal_class.signature: String getType(final Adaptable adaptable)
focal_class.class_method_signature: ThingEventAdapter.mapSignalToAdaptable(final ThingEvent<?> event, final TopicPath.Channel channel)
focal_class.full_signature: @Override public Adaptable mapSignalToAdaptable(final ThingEvent<?> event, final TopicPath.Channel channel)
focal_class.identifier: mapSignalToAdaptable
focal_class.modifiers: @Override public
focal_class.parameters: (final ThingEvent<?> event, final TopicPath.Channel channel)
focal_class.return: Adaptable
focal_class.signature: Adaptable mapSignalToAdaptable(final ThingEvent<?> event, final TopicPath.Channel channel)
focal_class.superclass: extends AbstractThingAdapter<ThingEvent<?>>
focal_method.body: public static ThingEventAdapter of(final HeaderTranslator headerTranslator) {
          return new ThingEventAdapter(requireNonNull(headerTranslator));
      }
focal_method.class_method_signature: ThingEventAdapter.of(final HeaderTranslator headerTranslator)
focal_method.full_signature: public static ThingEventAdapter 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: ThingEventAdapter
focal_method.signature: ThingEventAdapter of(final HeaderTranslator headerTranslator)