@Test
public void createSubscriptionFilterOnlyToAdaptable() {

    final String filter = "exists(attributes/test)";
    final CreateSubscription createSubscription =
            CreateSubscription.of(filter, null, null, null, DittoHeaders.empty());
    final Adaptable actual = underTest.toAdaptable(createSubscription);
    assertThat(actual.getPayload().getValue()).contains(JsonObject.newBuilder()
            .set("filter", filter)
            .build());
}