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