DeleteFeatureDefinitionLiveCommandImpl extends
        AbstractModifyLiveCommand<DeleteFeatureDefinitionLiveCommand, DeleteFeatureDefinitionLiveCommandAnswerBuilder> implements DeleteFeatureDefinitionLiveCommand { @Nonnull public static DeleteFeatureDefinitionLiveCommandImpl of(final Command<?> command) { return new DeleteFeatureDefinitionLiveCommandImpl((DeleteFeatureDefinition) command); } private  DeleteFeatureDefinitionLiveCommandImpl(final DeleteFeatureDefinition command); @Nonnull static DeleteFeatureDefinitionLiveCommandImpl of(final Command<?> command); @Override String getFeatureId(); @Override Category getCategory(); @Override DeleteFeatureDefinitionLiveCommand setDittoHeaders(final DittoHeaders dittoHeaders); @Override boolean changesAuthorization(); @Nonnull @Override DeleteFeatureDefinitionLiveCommandAnswerBuilder answer(); @Nonnull @Override String toString();  }
@SuppressWarnings("ConstantConditions") @Test public void tryToGetDeleteFeatureDefinitionLiveCommandForNull() { assertThatNullPointerException() .isThrownBy(() -> DeleteFeatureDefinitionLiveCommandImpl.of(null)) .withMessage("The %s must not be null!", "command") .withNoCause(); }
@Test public void tryToGetDeleteFeatureDefinitionLiveCommandForCreateFeatureDefinitionCommand() { final Command<?> commandMock = Mockito.mock(Command.class); assertThatExceptionOfType(ClassCastException.class) .isThrownBy(() -> DeleteFeatureDefinitionLiveCommandImpl.of(commandMock)) .withMessageContaining(DeleteFeatureDefinition.class.getName()) .withNoCause(); }