test_class.declarator: underTest
test_class.modifier: private
test_class.original_string: private SubscriptionEventAdapter underTest;
test_class.type: SubscriptionEventAdapter
test_class.var_name: underTest
test_class.file: protocol-adapter/src/test/java/org/eclipse/ditto/protocoladapter/things/SubscriptionEventAdapterTest.java
test_class.identifier: SubscriptionEventAdapterTest
test_class.interfaces: implements ProtocolAdapterTest
test_case.body: @Test
      public void subscriptionCompleteToAdaptable() {
  
          final TopicPath topicPath = TopicPath.fromNamespace("_")
                  .things()
                  .twin()
                  .search()
                  .complete()
                  .build();
  
          final JsonPointer path = JsonPointer.empty();
  
          final Adaptable expected = Adaptable.newBuilder(topicPath)
                  .withPayload(Payload.newBuilder(path)
                          .withValue(JsonObject.of(
                                  String.format("{\"subscriptionId\": \"%s\"}", TestConstants.SUBSCRIPTION_ID)))
                          .build())
                  .withHeaders(TestConstants.DITTO_HEADERS_V_2_NO_STATUS)
                  .build();
  
          final SubscriptionComplete subscriptionComplete =
                  SubscriptionComplete.of(TestConstants.SUBSCRIPTION_ID, TestConstants.DITTO_HEADERS_V_2_NO_STATUS);
          final Adaptable actual = underTest.toAdaptable(subscriptionComplete, TopicPath.Channel.TWIN);
  
          assertWithExternalHeadersThat(actual).isEqualTo(expected);
      }
test_case.class_method_signature: SubscriptionEventAdapterTest.subscriptionCompleteToAdaptable()
test_case.full_signature: @Test public void subscriptionCompleteToAdaptable()
test_case.identifier: subscriptionCompleteToAdaptable
test_case.invocations: build complete search twin things fromNamespace empty build withHeaders withPayload newBuilder build withValue newBuilder of format of toAdaptable isEqualTo assertWithExternalHeadersThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void subscriptionCompleteToAdaptable()
focal_class.file: protocol-adapter/src/main/java/org/eclipse/ditto/protocoladapter/things/SubscriptionEventAdapter.java
focal_class.identifier: SubscriptionEventAdapter
focal_class.class_method_signature: SubscriptionEventAdapter.SubscriptionEventAdapter(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.full_signature: private  SubscriptionEventAdapter(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.identifier: SubscriptionEventAdapter
focal_class.modifiers: private
focal_class.parameters: (final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.signature:  SubscriptionEventAdapter(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.class_method_signature: SubscriptionEventAdapter.of(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.full_signature: public static SubscriptionEventAdapter of(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.return: SubscriptionEventAdapter
focal_class.signature: SubscriptionEventAdapter of(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_class.class_method_signature: SubscriptionEventAdapter.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: SubscriptionEventAdapter.mapSignalToAdaptable(final SubscriptionEvent<?> event, final TopicPath.Channel channel)
focal_class.full_signature: @Override protected Adaptable mapSignalToAdaptable(final SubscriptionEvent<?> event, final TopicPath.Channel channel)
focal_class.identifier: mapSignalToAdaptable
focal_class.modifiers: @Override protected
focal_class.parameters: (final SubscriptionEvent<?> event, final TopicPath.Channel channel)
focal_class.return: Adaptable
focal_class.signature: Adaptable mapSignalToAdaptable(final SubscriptionEvent<?> event, final TopicPath.Channel channel)
focal_class.class_method_signature: SubscriptionEventAdapter.getCriteria()
focal_class.full_signature: @Override public Set<TopicPath.Criterion> getCriteria()
focal_class.identifier: getCriteria
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<TopicPath.Criterion>
focal_class.signature: Set<TopicPath.Criterion> getCriteria()
focal_class.class_method_signature: SubscriptionEventAdapter.getActions()
focal_class.full_signature: @Override public Set<TopicPath.Action> getActions()
focal_class.identifier: getActions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<TopicPath.Action>
focal_class.signature: Set<TopicPath.Action> getActions()
focal_class.class_method_signature: SubscriptionEventAdapter.isForResponses()
focal_class.full_signature: @Override public boolean isForResponses()
focal_class.identifier: isForResponses
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isForResponses()
focal_class.class_method_signature: SubscriptionEventAdapter.getSearchActions()
focal_class.full_signature: @Override public Set<TopicPath.SearchAction> getSearchActions()
focal_class.identifier: getSearchActions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<TopicPath.SearchAction>
focal_class.signature: Set<TopicPath.SearchAction> getSearchActions()
focal_class.superclass: extends AbstractThingAdapter<SubscriptionEvent<?>>
focal_method.body: public static SubscriptionEventAdapter of(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry) {
          return new SubscriptionEventAdapter(checkNotNull(headerTranslator, "headerTranslator"),
                  checkNotNull(errorRegistry, "errorRegistry"));
      }
focal_method.class_method_signature: SubscriptionEventAdapter.of(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_method.full_signature: public static SubscriptionEventAdapter of(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_method.identifier: of
focal_method.invocations: checkNotNull checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)
focal_method.return: SubscriptionEventAdapter
focal_method.signature: SubscriptionEventAdapter of(final HeaderTranslator headerTranslator,
              final ErrorRegistry<?> errorRegistry)