@Test
void testGetLoadOnStartup() {

    TestSnoopServlet servlet = new TestSnoopServlet();
    DefaultServletEnvironment environment = new DefaultServletEnvironment(null, null, servlet);
    environment.setLoadOnStartup(1);
    assertEquals(1, environment.getLoadOnStartup());
}