@Test
public void test_isInvalidSessionId_String() {

    Assert.assertFalse("Should not be an invalid session id", ExceptionUtil.isInvalidSessionId((String) null));
    Assert.assertFalse("Should not be an invalid session id", ExceptionUtil.isInvalidSessionId("test a"));
    Assert.assertTrue("Should be an invalid session id", ExceptionUtil.isInvalidSessionId(" foo " + ExceptionUtil.INVALID_SESSION_ID + " bar "));
    Assert.assertTrue("Should be an invalid session id", ExceptionUtil.isInvalidSessionId(" foo " + ExceptionUtil.INVALID_SESSION_ID));
    Assert.assertTrue("Should be an invalid session id", ExceptionUtil.isInvalidSessionId(ExceptionUtil.INVALID_SESSION_ID + "bar"));
    Assert.assertTrue("Should be an invalid session id", ExceptionUtil.isInvalidSessionId(ExceptionUtil.INVALID_SESSION_ID));
}