SendMessageAcceptedResponse extends AbstractMessageCommandResponse<Void, SendMessageAcceptedResponse> { @Deprecated public static SendMessageAcceptedResponse newInstance(final String thingId, final MessageHeaders messageHeaders, final DittoHeaders dittoHeaders) { return newInstance(ThingId.of(thingId), messageHeaders, dittoHeaders); } private  SendMessageAcceptedResponse(final ThingId thingId, final MessageHeaders messageHeaders,
            final HttpStatusCode statusCode, final DittoHeaders dittoHeaders); @Deprecated static SendMessageAcceptedResponse newInstance(final String thingId, final MessageHeaders messageHeaders,
            final DittoHeaders dittoHeaders); static SendMessageAcceptedResponse newInstance(final ThingId thingId, final MessageHeaders messageHeaders,
            final DittoHeaders dittoHeaders); @Deprecated static SendMessageAcceptedResponse newInstance(final String thingId, final MessageHeaders messageHeaders,
            final HttpStatusCode statusCode, final DittoHeaders dittoHeaders); static SendMessageAcceptedResponse newInstance(final ThingId thingId, final MessageHeaders messageHeaders,
            final HttpStatusCode statusCode, final DittoHeaders dittoHeaders); static SendMessageAcceptedResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders); static SendMessageAcceptedResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override SendMessageAcceptedResponse setDittoHeaders(final DittoHeaders dittoHeaders); Optional<String> getCorrelationId(); @Override String toString(); static final String NAME; static final String TYPE; }
@Test(expected = ThingIdInvalidException.class) public void tryCreateWithNullThingIdString() { SendMessageAcceptedResponse.newInstance((String) null, MESSAGE_HEADERS, DITTO_HEADERS); }
@Test(expected = NullPointerException.class) public void tryCreateWithNullThingId() { SendMessageAcceptedResponse.newInstance((ThingId) null, MESSAGE_HEADERS, DITTO_HEADERS); }
@Test(expected = NullPointerException.class) public void tryCreateWithNullMessageHeaders() { SendMessageAcceptedResponse.newInstance(THING_ID, null, DITTO_HEADERS); }
@Test(expected = NullPointerException.class) public void tryCreateWithNullDittoHeaders() { SendMessageAcceptedResponse.newInstance(THING_ID, MESSAGE_HEADERS, null); }