@Test
void testIsSecure() {

    DefaultWebApplication webApplication = new DefaultWebApplication();
    DefaultHttpSessionManager sessionManager = new DefaultHttpSessionManager();
    sessionManager.setWebApplication(webApplication);
    assertFalse(sessionManager.isSecure());
    sessionManager.setSecure(true);
    assertTrue(sessionManager.isSecure());
}