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