### Question:
UnblockNamespaceResponse extends AbstractNamespaceCommandResponse<UnblockNamespaceResponse> { public static UnblockNamespaceResponse getInstance(final CharSequence namespace, final CharSequence resourceType, final DittoHeaders dittoHeaders) { return new UnblockNamespaceResponse(namespace, resourceType, dittoHeaders); } private  UnblockNamespaceResponse(final CharSequence namespace, final CharSequence resourceType,
            final DittoHeaders dittoHeaders); static UnblockNamespaceResponse getInstance(final CharSequence namespace, final CharSequence resourceType,
            final DittoHeaders dittoHeaders); static UnblockNamespaceResponse fromJson(final JsonObject jsonObject, final DittoHeaders headers); @Override UnblockNamespaceResponse setDittoHeaders(final DittoHeaders dittoHeaders); @Override String toString(); static final String TYPE; }### Answer:
@Test public void toJsonReturnsExpected() { final UnblockNamespaceResponse underTest = UnblockNamespaceResponse.getInstance(NAMESPACE, RESOURCE_TYPE, dittoHeaders); assertThat(underTest.toJson()).isEqualTo(knownJsonRepresentation); }
@Test public void getIdReturnsNamespace() { final UnblockNamespaceResponse underTest = UnblockNamespaceResponse.getInstance(NAMESPACE, RESOURCE_TYPE, dittoHeaders); assertThat(underTest.getId()).isEqualTo(underTest.getNamespace()); }