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