RetrieveAttributesLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveAttributesLiveCommand,
        RetrieveAttributesLiveCommandAnswerBuilder> implements RetrieveAttributesLiveCommand { @Nonnull @Override public String toString() { return getClass().getSimpleName() + "[" + super.toString() + "]"; } private  RetrieveAttributesLiveCommandImpl(final RetrieveAttributes command); @Nonnull static RetrieveAttributesLiveCommandImpl of(final Command<?> command); @Override RetrieveAttributesLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Nonnull @Override RetrieveAttributesLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@Test public void toStringReturnsExpected() { assertThat(underTest.toString()) .contains(underTest.getClass().getSimpleName()) .contains("command=") .contains(retrieveAttributesTwinCommand.toString()); }