@Test
void testIsHttpOnly() {

    DefaultWebApplication webApplication = new DefaultWebApplication();
    DefaultHttpSessionManager sessionManager = new DefaultHttpSessionManager();
    sessionManager.setWebApplication(webApplication);
    assertFalse(sessionManager.isHttpOnly());
    sessionManager.setHttpOnly(true);
    assertTrue(sessionManager.isHttpOnly());
}