@Test
void testIsNew() {

    DefaultWebApplication webApp = new DefaultWebApplication();
    DefaultHttpSession session = new DefaultHttpSession(webApp);
    session.setNew(true);
    assertTrue(session.isNew());
    session.setNew(false);
    assertFalse(session.isNew());
}