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