@Test
public void testWithNonParsableContentType() {

    // Arrange
    final DittoHeaders dittoHeaders = DittoHeaders.empty();
    final String nonParsableMediaType = "application-json";
    // Act
    final TestRouteResult result =
            testRoute(extractRequestContext(
                    ctx -> ensureValidContentType(Set.of(nonParsableMediaType), ctx, dittoHeaders, COMPLETE_OK)))
                    .run(HttpRequest.PUT("someUrl")
                            .addHeader(HttpHeader.parse("content-type", nonParsableMediaType))
                            .withEntity(ContentTypes.APPLICATION_OCTET_STREAM, "something".getBytes()));
    // Assert
    result.assertStatusCode(StatusCodes.OK);
}