@Test
public void toBoolean_valueIsNullOrBlankOrWhitespace() throws JspException {

    assertThat(JspTagUtils.toBoolean(null, Boolean.TRUE, null), is(true));
    assertThat(JspTagUtils.toBoolean("", Boolean.FALSE, null), is(false));
}