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