DefaultSecurityManager implements SecurityManager { @Override public WebApplication getWebApplication() { return webApplication; }  void addUser(String username, String password, String... roles); void addUserRole(String username, String... roles); @Override boolean authenticate(
            HttpServletRequest request, HttpServletResponse response); @Override void declareRoles(String[] roles); @Override Set<String> getRoles(); @Override boolean getDenyUncoveredHttpMethods(); @Override WebApplication getWebApplication(); @Override boolean isUserInRole(HttpServletRequest request, String role); @Override void login(HttpServletRequest request, String username, String password); @Override void logout(HttpServletRequest request, HttpServletResponse response); void removeUser(String username); @Override void setDenyUncoveredHttpMethods(boolean denyUncoveredHttpMethods); @Override void setWebApplication(WebApplication webApplication);  }
@Test void testGetWebApplication() { DefaultSecurityManager securityManager = new DefaultSecurityManager(); assertNull(securityManager.getWebApplication()); }