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