@Test( expected = IllegalArgumentException.class )
public void shouldNotAcceptDebugMessageWithTooFewParameters() {

    logger.debug("This is a debug message with a {0} parameter and the {1} parameter", (Object[])null);
}