RetrieveFeaturePropertyLiveCommandImpl extends AbstractQueryLiveCommand<RetrieveFeaturePropertyLiveCommand,
        RetrieveFeaturePropertyLiveCommandAnswerBuilder> implements RetrieveFeaturePropertyLiveCommand { @Nonnull public static RetrieveFeaturePropertyLiveCommandImpl of(final Command<?> command) { return new RetrieveFeaturePropertyLiveCommandImpl((RetrieveFeatureProperty) command); } private  RetrieveFeaturePropertyLiveCommandImpl(final RetrieveFeatureProperty command); @Nonnull static RetrieveFeaturePropertyLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Nonnull @Override JsonPointer getPropertyPointer(); @Override RetrieveFeaturePropertyLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Nonnull @Override RetrieveFeaturePropertyLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@SuppressWarnings("ConstantConditions") @Test public void tryToGetRetrieveFeaturePropertyLiveCommandForNull() { assertThatExceptionOfType(NullPointerException.class) .isThrownBy(() -> RetrieveFeaturePropertyLiveCommandImpl.of(null)) .withMessage(MessageFormat.format("The {0} must not be null!", "command")) .withNoCause(); }
@Test public void tryToGetRetrieveFeaturePropertyLiveCommandForCreateAttributeCommand() { final Command<?> commandMock = Mockito.mock(Command.class); assertThatExceptionOfType(ClassCastException.class) .isThrownBy(() -> RetrieveFeaturePropertyLiveCommandImpl.of(commandMock)) .withMessageContaining(RetrieveFeatureProperty.class.getName()) .withNoCause(); }