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