UnblockNamespace extends AbstractNamespaceCommand<UnblockNamespace> { @Override public String toString() { return getClass().getSimpleName() + "[" + super.toString() + "]"; } private  UnblockNamespace(final CharSequence namespace, final DittoHeaders dittoHeaders); static UnblockNamespace of(final CharSequence namespace, final DittoHeaders dittoHeaders); static UnblockNamespace fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders); @Override UnblockNamespace setDittoHeaders(final DittoHeaders dittoHeaders); @Override String toString(); static final String TYPE; }
@Test public void getEntityIdReturnsNamespace() { Assertions.assertThat(underTest.getEntityId().toString()).isEqualTo(underTest.getNamespace()); }
@Test public void toStringContainsExpected() { assertThat(underTest.toString()) .contains(underTest.getClass().getSimpleName()) .contains(NAMESPACE); }