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