DeleteFeatureLiveCommandAnswerBuilderImpl extends
        AbstractLiveCommandAnswerBuilder<DeleteFeatureLiveCommand, DeleteFeatureLiveCommandAnswerBuilder.ResponseFactory, DeleteFeatureLiveCommandAnswerBuilder.EventFactory> implements DeleteFeatureLiveCommandAnswerBuilder { public static DeleteFeatureLiveCommandAnswerBuilderImpl newInstance(final DeleteFeatureLiveCommand command) { return new DeleteFeatureLiveCommandAnswerBuilderImpl(command); } private  DeleteFeatureLiveCommandAnswerBuilderImpl(final DeleteFeatureLiveCommand command); static DeleteFeatureLiveCommandAnswerBuilderImpl newInstance(final DeleteFeatureLiveCommand command);  }
@SuppressWarnings("ConstantConditions") @Test public void tryToGetNewInstanceWithNullCommand() { assertThatExceptionOfType(NullPointerException.class) .isThrownBy(() -> DeleteFeatureLiveCommandAnswerBuilderImpl.newInstance(null)) .withMessage(MessageFormat.format("The {0} must not be null!", "command")) .withNoCause(); }