### Question:
Logger { public void info( I18n message, Object... params ) { if (!isInfoEnabled()) return; if (message == null) return; this.delegate.info(message.text(LOGGING_LOCALE.get(), params)); } private  Logger( org.slf4j.Logger delegate ); static Locale getLoggingLocale(); static Locale setLoggingLocale( Locale locale ); static Logger getLogger( Class<?> clazz ); static Logger getLogger( String name ); String getName(); void log( Level level,
                     I18n message,
                     Object... params ); void log( Level level,
                     Throwable t,
                     I18n message,
                     Object... params ); void debug( String message,
                       Object... params ); void debug( Throwable t,
                       String message,
                       Object... params ); void error( I18n message,
                       Object... params ); void error( Throwable t,
                       I18n message,
                       Object... params ); void info( I18n message,
                      Object... params ); void info( Throwable t,
                      I18n message,
                      Object... params ); void trace( String message,
                       Object... params ); void trace( Throwable t,
                       String message,
                       Object... params ); void warn( I18n message,
                      Object... params ); void warn( Throwable t,
                      I18n message,
                      Object... params ); boolean isDebugEnabled(); boolean isTraceEnabled(); Level getLevel();  }### Answer:
@Test( expected = IllegalArgumentException.class ) public void shouldNotAcceptInfoMessageWithTooFewParameters() { logger.info(infoMessageWithTwoParameters, (Object[])null); }