@Test(expected = UnknownCommandResponseException.class)
public void unknownCommandResponseResponseToAdaptable() {

    underTest.toAdaptable(new ThingModifyCommandResponse() {
        @Override
        public String getType() {
            return "things.responses:modifyPolicyIdResponse";
        }
        @Override
        public ThingId getThingEntityId() {
            return TestConstants.THING_ID;
        }
        @Override
        public HttpStatusCode getStatusCode() {
            return HttpStatusCode.BAD_REQUEST;
        }
        @Override
        public JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate predicate) {
            return JsonObject.newBuilder()
                    .set(CommandResponse.JsonFields.TYPE, getType())
                    .set("policyId", "foo")
                    .build();
        }
        @Override
        public DittoHeaders getDittoHeaders() {
            return TestConstants.DITTO_HEADERS_V_2;
        }
        @Override
        public JsonPointer getResourcePath() {
            return JsonPointer.of("/policyId");
        }
        @Override
        public ThingModifyCommandResponse<?> setDittoHeaders(final DittoHeaders dittoHeaders) {
            return this;
        }
        @Nonnull
        @Override
        public String getManifest() {
            return getType();
        }
    });
}