ImmutableFilteredAcknowledgementRequest implements FilteredAcknowledgementRequest { static ImmutableFilteredAcknowledgementRequest getInstance( final Set<AcknowledgementRequest> includes, @Nullable final String filter) { return new ImmutableFilteredAcknowledgementRequest(checkNotNull(includes, "includes"), filter); } private  ImmutableFilteredAcknowledgementRequest(final Set<AcknowledgementRequest> includes,
            @Nullable final String filter); @Override Set<AcknowledgementRequest> getIncludes(); @Override Optional<String> getFilter(); static FilteredAcknowledgementRequest fromJson(final JsonObject jsonObject); @Override JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate); @Override boolean equals(@Nullable final Object o); @Override int hashCode(); @Override String toString();  }
@Test public void tryToGetInstanceWithNullIncludes() { assertThatNullPointerException() .isThrownBy(() -> ImmutableFilteredAcknowledgementRequest.getInstance(null, null)) .withMessage("The includes must not be null!") .withNoCause(); }